renegadeandy
03-07-2009, 05:31 PM
Hi!
I am trying to run an ant script and I am getting this error:
BUILD FAILED
C:\Users\Andy\workspace\Screensaver\src\build.xml:68: 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\jre1.6.0"
Now Where is the JAVA_HOME environment variable set because I go to environment variables but i dont see JAVA_HOME there at all - and when I make one it still reports this error.
Obviously the correct path should be pointing to the JDK not the JRE?
Please help me change where this is pointing!
Thanks
Andy
I am trying to run an ant script and I am getting this error:
BUILD FAILED
C:\Users\Andy\workspace\Screensaver\src\build.xml:68: 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\jre1.6.0"
Now Where is the JAVA_HOME environment variable set because I go to environment variables but i dont see JAVA_HOME there at all - and when I make one it still reports this error.
Obviously the correct path should be pointing to the JDK not the JRE?
Please help me change where this is pointing!
Thanks
Andy