Next: Optional Tasks
Up: Installing Ant
Previous: Installing Ant
Contents
Index
Before you can run ant there is some additional set up you will need
to do:
- Add the bin directory to your path.
- Set the ANT_HOME environment variable to the directory where you
installed Ant. On some operating systems the ant wrapper scripts can
guess ANT_HOME (Unix dialects and Windows NT/2000) - but it is better
to not rely on this behavior.
- Optionally, set the JAVA_HOME
environment variable (see the Advanced
section below). This should be set to the directory where your JDK is
installed.
Note: Do not install Ant's ant.jar file into the lib/ext directory of
the JDK/JRE. Ant is an application, whilst the extension directory is
intended for JDK extensions. In particular there are security
restrictions on the classes which may be loaded by an extension.
Andrew Marlow
2003-07-08