ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Corley \(AT/LMI\)" <>
Subject RE: ANT with several Java-Versions
Date Fri, 11 Aug 2006 10:58:58 GMT
Whenever you run Ant set your JAVA_HOME variable (before you run Ant) to
the location of the 1.5 JRE. Ant always looks at the JAVA_HOME variable
to find out where the JDK is stored.


-----Original Message-----
From: Grimm, Markus [] 
Sent: 11 August 2006 11:50
Subject: ANT with several Java-Versions


I use Ant1.6.0 on a linux-os.
The Java-Version on the host was updated from Java 1.4.2_08 to 1.5.0_05.
Now if I start Ant with 'ant -diagnostics' I see that Ant still uses the
"old" Java-version 1.4.2"
What can I do, that Ant uses the 1.5 JRE.
Is there a config-File or what else I have to do ?

Thanks for advices!

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message