-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
> 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
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