I have the following error when i try to create the war file using ANT script in eclipse EE
C:\Documents and Settings\Administrator\workspace\Assignment7\build.xml:67: 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\jre6"
JDK is different than the JRE; JRE doesn't have a javac executable. You need to point your JAVA_HOME (or PATH) to the JDK which is probably located at "C:\Program Files\Java\jdk1.6.x\bin\"
In that directory you should have a javac executable.
Everything is theoretically impossible, until it is done. ~Robert A. Heinlein