Monday, September 5, 2011

Error starting modern compiler in Eclipse

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.

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