Closed NonameSLdev closed 6 years ago
After a little debugging, I found out that in the InMemoryJavaCompiler class, javac is null for a reason - I didn't have JDK installed. Silly me :P Add a note in the readme.md that you need to compile the project with JDK and that the client also needs JDK :)
I have installed JDK, even I am getting NullPointerException.When I debug I got javac is null. I configure the application in eclipse.
static JavaCompiler javac = ToolProvider.getSystemJavaCompiler(); is not able to create instance of javac If any idea please provide me.
Hey, I'm getting a NullPointerException whenever I try to use the compiler. I tried it with your example:
And it doesn't work. The exception:
I tried it with different source codes, all don't work.