I have faced the error "Error starting modern compiler" while running ant build script.
When javac is not able to load the proper JAVA_HOME location, we will be facing this error.
Solution:
Edit "JRE System Library" , which is in the java build path -> libraries tab
Set JAVA_HOME path.
Note: set the jdk path not the jre.
Run the build script, it works fine :)
When javac is not able to load the proper JAVA_HOME location, we will be facing this error.
Solution:
Edit "JRE System Library" , which is in the java build path -> libraries tab
Set JAVA_HOME path.
Note: set the jdk path not the jre.
Run the build script, it works fine :)
No comments :
Post a Comment