Search This Blog

Saturday, November 22, 2014

Unable to find a javac compiler

Problem :

 

Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

 

Solution: 

 

Window->Preferences->Java->Installed JREs:

Double Click the Entry->Add External JARs->Add all jars from %JAVA_HOME%\lib directory

No comments: