Installing ant; clearly misunderstanding JAVA_HOME
Posted
by StormShadow
on Stack Overflow
See other posts from Stack Overflow
or by StormShadow
Published on 2010-04-06T00:47:15Z
Indexed on
2010/04/06
0:53 UTC
Read the original article
Hit count: 370
Hey all, I am installing ant on a Windows XP machine, and am following the instructions at Apache's manual site. It said to set JAVA_HOME, so I checked, saw there was no environment variable named JAVA_HOME, made one, and set it to "C:\Program Files\Java\jdk1.6.0_19"
When I try to run ant debug, however, it tells me that JAVA_HOME is currently set to "C:\Program Files\Java\jre6"
I'm guessing JAVA_HOME isn't an environment variable. But if it isn't one, I'm at a loss as to where to start looking for it. Anybody know?
Edit: Oh yeah - it's bugging me for tools.jar as well, but I'm guessing that when I fix the JAVA_HOME issue, that will help the terminal find tools.jar as well. Or maybe I'm wrong. Thanks
© Stack Overflow or respective owner