How do I set up Ant
I need help in setting up Ant
I installed apache-ant-1.7.1 to my home directory. I'm following the directions for installing ant at: http://ant.apache.org/manual/install.html I added the path: PATH=$PATH:/sbin/:/home/joe/program_downloads/ant_program/apache-ant-1.7.1/bin/ export PATH I set the ANT_HOME environment variable: export ANT_HOME=$/home/joe/program_downloads/ant_program/apache-ant-1.7.1/ When I ran bash-3.1$ ant I got this: Unable to locate tools.jar. Expected to find it in /usr/lib/jre1.6.0_02/lib/tools.jar Buildfile: build.xml does not exist! Build failed Quote:
I'm unsure about setting it up for optional tasks. Quote:
Quote:
|
In Slackware, the JDK is not installed by default - only the JRE.
You will have to install the JDK manually, it is located in the /extra directory of the Slackware 12.1 DVD (or on CDROM #4) After installing the JDK, logout and login again, or run Code:
. /etc/profile Eric |
All times are GMT -5. The time now is 12:00 AM. |