I was trying to make an application wherein i can modify the code already written, compile and run the same from within the web application.
Example, i have a java file, compiled it but during execution i found out that there is some error, i change it within the application, compile the new code and then use the newly written code.
The way to go for this, which i was thinking was with JavaCompiler.
Now i am able to find a lot of examples and i am successfully able to generate the class file and load it at run time also.
But when i try to do it in a web application, it is making the class file in Eclipse root directory.
I want to compile the class file at a certain location(preferably build/classes.... etc)
Any suggestions shall be welcome !
Thanks !