ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanouil Batsis <Emmanouil.Bat...@eurodyn.com>
Subject Ant not obeying JAVA_HOME?
Date Tue, 21 Sep 2004 08:24:22 GMT

Dear tribe,

When running Ant through ant-launcher.jar like:

java -jar ant-launcher.jar -buildfile /path/to/build.xml

I get the following:

Unable to locate tools.jar. Expected to find it in C:\Program 
Files\Java\j2re1.4.2_04\lib\tools.jar

However, the above path points to my JRE, while my JAVA_HOME env 
property points to the JDK. From what i remember my linux box 
demonstrated the same behaviour using a SUN JDK. What am i missing?

Cheers,

Manos




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message