Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

On the fly java compiler in javascript

Tags:

javascript

I'm trying to build an online java editor. I need the functionality that enables me to report the compilation errors to the user on clicking submit if there are any. I'm curious to know if there are any javascript libraries out there that I could use off the shelf to do this.

like image 983
Harshal Pandya Avatar asked Jul 05 '12 20:07

Harshal Pandya


1 Answers

Take the text and call javac on it on the server side, send back the results in some structured way and display on the client side

like image 135
ControlAltDel Avatar answered Sep 26 '22 22:09

ControlAltDel