Thanks very much for everyone's rapid responses, downloading a JDK and changing my $JAVA_HOME to point to it resolved the problem, Ant is now working correctly!
On Apr 8, 2005 4:12 PM, Jeffrey E Care <[EMAIL PROTECTED]> wrote: > If all you have is the JRE (and not the JDK) then you won't have tools.jar > > -- > Jeffrey E. Care ([EMAIL PROTECTED]) > WebSphere Build SWAT Team Lead > WebSphere Build Tooling Lead (Project Mantis) > https://w3.opensource.ibm.com/projects/mantis > > Graeme Shaw <[EMAIL PROTECTED]> wrote on 04/08/2005 11:01:53 AM: > > > I'm trying to get Ant set up so I can use it to install Apache XML-RPC. > > > > I have: > > $JAVA_HOME=/usr/lib/java/jre > > $ANT_HOME=/usr/local/ant > > > > When I run 'ant' in the XML-RPC directory I get the output I've > > attached at the bottom. I can't seem to find a tools.jar either in > > /usr/lib/java/jre/lib or in /usr/lib/SunJava2-1.4.2/jre/lib. > > > > Ant seems to be looking for tools.jar in /usr/lib/SunJava2-1.4.2/lib/ > > which doesn't even exist. This is all under SuSE Linux Professional > > 9.1. > > > > Any help with this will be greatly appreciated, I need to get XML-RPC > > up and running as quickly as possible, thanks in advance, > > > > Graeme ('ant' output below). > > > > Unable to locate tools.jar. Expected to find it in > > /usr/lib/SunJava2-1.4.2/lib/tools.jar > > Buildfile: build.xml > > > > env: > > [echo] java.home = /usr/lib/SunJava2-1.4.2/jre > > [echo] user.home = /home/thorin > > [echo] jsse.jar = ${jsse.jar} > > [echo] jnet.jar = ${jnet.jar} > > [echo] jcert.jar = ${jcert.jar} > > [echo] servlet.jar = ${servlet.jar} > > [echo] junit.jar = ${junit.jar} > > > > init: > > > > prepare: > > > > compile: > > > > BUILD FAILED > > /home/thorin/xmlrpc-1.2-b1/build.xml:137: srcdir > > "/home/thorin/xmlrpc-1.2-b1/${src.dir}" does not exist! > > > > Total time: 3 seconds > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
