|Can't Find javac on Windows [message #991414]
||Tue, 18 December 2012 19:28
| Dennis Putnam
Registered: January 2012
I have an ant XML that I am trying to use to create my jar file. However, when I run it I get this error:|
H:\html\Applets\KCBSEvents\makejar.xml:56: 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.
It is currently set to "C:\Program Files\Java\jre7"
Clearly JAVA_HOME is pointing to the wrong directory. Is should be C:\Program Files\Java\jdk1.7.0_10. Unfortunately I cannot find where that is set. It is not in the Win 7 environment variables and even adding it does not help. Where in Eclipse is that set so I can fix it? TIA.
Powered by FUDForum
. Page generated in 0.01680 seconds