ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: Where to put ant.jar?
Date Mon, 09 Dec 2002 20:07:40 GMT
Ant requires the JDK's tools.jar (1.2+) on the classpath for all tasks that
wrap JDK tools (<javac>/<javah>/etc...). ant_home\bin\ant.{bat|sh} normally
takes care of that. If you start Ant yourself, read the doc on how to start
it yourself.

Also, put JARs in jre/lib/ext is not the best way to go, unless you really
understand the way classloaders work. Definitely not recommended... --DD

-----Original Message-----
From: Peter Lee [] 
Sent: Monday, December 09, 2002 1:39 PM
To: Ant Users List
Subject: Where to put ant.jar?

I have ant.jar in \ant_home\lib and my extension \java_home\jre\lib\ext
But I got his warning.

file:build.xml:33: Unable to find a javac compiler; is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK

Where should I put ant.jar and what jar files do I need?

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

View raw message