set JAVA_HOME in windows but "ant build" still fails
Posted
by patrickinmpls
on Super User
See other posts from Super User
or by patrickinmpls
Published on 2010-06-04T18:07:39Z
Indexed on
2010/06/11
14:43 UTC
Read the original article
Hit count: 271
I set JAVA_HOME in windows environment preferences
echo %JAVA_HOME%
C:\Program Files (x86)\Java\jdk1.6.0_20
but then I try to run ant build and I get
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 how to fix this
© Super User or respective owner