You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by aaron smith <aa...@smithaaronlee.net> on 2006/05/07 02:44:47 UTC

tools.jar missing?

I just installed the latest ant build with the latest Java jdk/jre. when 
I try and run ant it says this:

"Unable to locate tools.jar. Expected to find it in C:\Program 
Files\Java\jre1.5.0_06\lib\tools.jar"

In that directory sits a bunch of Java stuff but the tools.jar is not 
there.

not sure whats going on, I've used this before but this was unexpected. 
anyone know whats up?


thanks
smith



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


Re: tools.jar missing?

Posted by Oliver Schalch <ol...@wyona.com>.
On Sunday 07 May 2006 02:44, aaron smith wrote:
> I just installed the latest ant build with the latest Java jdk/jre. when
> I try and run ant it says this:
>
> "Unable to locate tools.jar. Expected to find it in C:\Program
> Files\Java\jre1.5.0_06\lib\tools.jar"

Only the JDK has the tools.jar and if your JAVA_HOME or some PATH points to 
the JRE it wont find the tools.jar...

Oliver




-- 
Oliver Schalch				 oliver.schalch@wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com			  http://lenya.apache.org

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