Run compiled class in separate Java process #6
Comments
|
I think it's due to the your application class loader can't find the class which was dynamically compiled. I need to try this myself but my thinking is that there should be additional step in your application to load the dynamic compiled class in the application class loader. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Hi @trung,
I'm using your library to compile code that's coming from a web interface. After compilation I'm running the compiled class to evaluate the output.
If a user inputs something like
System.exit(0);, the server will crash. I tried to prevent this by running the compiled class in a separate process like this:The problem with this is that I'm getting a "Class not found" error everytime I try to run the compiled class like this.
Is it possible to run the compiled class in a separate process using another way?
The text was updated successfully, but these errors were encountered: