File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes ANT Install error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "ANT Install error" Watch "ANT Install error" New topic
Author

ANT Install error

sub venkat
Greenhorn

Joined: May 19, 2004
Posts: 15
Hi,
I just installed ANT on Win XP box, and after setting up the ANT_HOME and the ant/bin in the path,
ran "ant -version". Th eoutput follows:
______________________________________________________
Unable to locate tools.jar. Expected to find it in c:\progra~1\java\lib\tools.jar
Apache Ant version 1.6.1 compiled on February 12 2004
_______________________________________________________________

Where can I find tools.jar? I could'nt find it in the ANT distribution.

thanks,
Sub cat
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

No, tools.jar is part of the JSDK install. Check your JAVA_HOME property points your JDK install (e.g. c:\JDK1.4.1_05)


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
sub venkat
Greenhorn

Joined: May 19, 2004
Posts: 15
Thanks Paul,

My JAVA_HOME points to a JRE, not JDK. So I downloaded a JDK and reset the JAVA_HOME variable.

thanks.
 
 
subject: ANT Install error
 
Threads others viewed
Eclipse Ant & Mac OS X
Help me with Axis !!
ant pkg won't work for installing I2P
OrionServer problemo
J2ME Polish - Pb while trying to test polish samples
IntelliJ Java IDE