trung / InMemoryJavaCompiler

Utility class to compile java source code in memory
Apache License 2.0
267 stars 85 forks source link

NullPointerException #12

Open shivam92 opened 7 years ago

shivam92 commented 7 years ago
    ExtendedStandardJavaFileManager fileManager = new ExtendedStandardJavaFileManager(javac.getStandardFileManager(null, null, null), compiledCode, cl);

line given null pointer exception

trung commented 6 years ago

Can you give an example of the code that produces NPE?

trung commented 6 years ago

Can you try to set JAVA_HOME to your JDK location?