l2google Posted May 16, 2011 Posted May 16, 2011 Help.... com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files\Java\jre6"
0 An4rchy Posted May 16, 2011 Posted May 16, 2011 What about setting the JAVA_HOME to your jdk? Eclipse>Window>Preferences>Java>Installed JREs>Add...>Next>Directory...>Computer>C:\>Program Files>Java>jdk1.x.x_x>OK>Tick your jdk instead of jre.
0 Tryskell Posted May 16, 2011 Posted May 16, 2011 What about setting the JAVA_HOME to your jdk? Eclipse>Window>Preferences>Java>Installed JREs>Add...>Next>Directory...>Computer>C:\>Program Files>Java>jdk1.x.x_x>OK>Tick your jdk instead of jre. +1, this is the solution :].
0 l2google Posted May 16, 2011 Author Posted May 16, 2011 Thank you so much. I can use it so good. Please lock.
0 WeirdSituation Posted May 17, 2011 Posted May 17, 2011 Thank you so much. I can use it so good. Please lock.
Question
l2google
Help....
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre6"
4 answers to this question
Recommended Posts