ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Run ant, get java
Date Mon, 25 Sep 2006 14:42:52 GMT
Aaron Green wrote:
> Thanks, it was the ending / on ANT_HOME that seemed to be doing it.
> Now I can get the version, but it can't find tools.jar.  It seems to
> be looking for it in ../lib of ANT_HOME which isn't where my jdk is
> located.  If it did the same directory lookup for JAVA_HOME, it would
> be correct.  Is there someway to set this?  My JAVA_HOME looks to be
> correct since I can run java -version and get the newly installed
> update 8 version.  I also have both paths in my path variable.

that doesnt mean the JDK is set up, only the JRE. You need to be sure 
that  JAVA_HOME/lib/tools.jar exists.

Use  ant -diagnostics to find out more about the system state

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


Mime
View raw message