• Post Reply Bookmark Topic Watch Topic
  • New Topic

I want to run javac.exe from a client m/c  RSS feed

 
Rax Wer
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sir,,

Can I run an exe file on the server from the client.
Or
I want to run javac.exe from a client m/c and compile th submitted code from client. Its like online java compilation.
Please help me with this,

Thanks and Regards,
Rax.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not something you would do in JSP.

You can write a page that uploads the Java file to a servlet, which can then use Java to compile the file and return the class file as the response.

The details of interacting with the Java compiler is not a JSP or a servlet issue -- only the file upload part.
 
Rax Wer
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!