Appendix A. Installation

If there is one area where Ant could be improved, it’s in the area of installation. It still has a fairly manual installation process, and a few things can go wrong. Here’s a summary of how to install Ant, and also a troubleshooting guide in case something goes awry.

Before you begin

Before installing Ant, check that a Java SE Software Development Kit, otherwise known as JDK, is installed on the target system. Type javac at a command prompt; if a usage message doesn’t appear, then either a JDK needs to be installed or the PATH environment variable path isn’t set up correctly. Sun distributes their versions under—you need to download the appropriate JDK for your system.

On Windows, install ...

Get Ant in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.