Java Ant Installation

  1. Go to, download the binary (get version 1.6.2) and extract the distribution.

  2. Add the ANT_HOME/bin directory to your PATH.

  3. Copy the junit.jar found when you unpack the junit distribution, into the ANT_HOME/lib directory. This is needed so we can run unit tests as part of the ant build.

  4. Verify that it is installed by typing ant and the command prompt:

    jurn@brownfang ~
    $ ant
    Buildfile: build.xml does not exist!
    Build failed

Published: Wednesday, 11 August 2004