On Mar 15, 2008, at 23:06, John Brown wrote:

<snip />
Another possibility: what do you get when you type 'set JAVACMD'?

Just noticed that, if that variable exists and points to another
java.exe, that JVM is ultimately used and JAVA_HOME is completely
ignored by Ant.


You found it!

<snip />
Unfortunately, the Ant installation instructions at
http://ant.apache.org/manual/install.html#installing
say nothing about JAVACMD.

Indeed not in the installation instructions, but there is a very short reference to it at
http://ant.apache.org/manual/running.html#envvars

Admitted, it's very easy to overlook... I myself only noticed yesterday. :-)

Anyway, glad to see it worked out.


Cheers

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to