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 http://java.sun.com/javase/—you need to download the appropriate JDK for your system.

On Windows, install ...

Get Ant in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.