0
3
I've set JAVA_HOME
in my Windows environment preferences:
echo %JAVA_HOME%
C:\Program Files (x86)\Java\jdk1.6.0_20
However whenever I try to run ant build I get the following:
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre6"
I think the registry key JAVASOFT
is interfering with my environment variable, but I'm not sure.
ockquote>
I needed to copy the Tools.jar file from the jdk/lib folder to the jre/lib folder. Nice , it works !!! but just I want to know why ? why this does it work ?
– None – 2011-10-11T09:49:12.903