RE: JAVA_HOME not interpreted on XP

2010-01-19 Thread Rebhan, Gilbert
-Original Message- From: Stephan Müller [mailto:stephanr.muel...@gmx.de] Sent: Tuesday, January 19, 2010 4:08 PM To: Ant Users List Subject: Re: JAVA_HOME not interpreted on XP /* [...] I have no idea where this search path is coming from, if it is something hardcoded. Some people

Re: JAVA_HOME not interpreted on XP

2010-01-19 Thread Stephan Müller
> But the error is saying that it expects it in C:\Program > Files\Java\j2re1.4.2_04\lib\tools.jar > Which is plain wrong. tools.jar is from the JDK. The expected path shown above is clearly the JRE. > The question is why is it expecting it in a different directory? i.e. > C:\Program Files\Jav

Re: JAVA_HOME not interpreted on XP

2010-01-19 Thread Ziggy
Look at the error. Your environment variable is pointing at C:\>echo %JAVA_HOME% C:\Program Files\j2sdk1.4.2_04 But the error is saying that it expects it in C:\Program Files\Java\j2re1.4.2_04\lib\tools.jar The question is why is it expecting it in a different directory? i.e. C:\Program Files\J