Installing Java
Macintosh computers obtain the latest version of Java directly from Apple. Apple has already released a version of Java that is compatible with the examples in this book. If you have kept up to date with your operating system updates, you likely already have the latest version. You can also obtain Java from Apple’s Java page at:
http://www.apple.com/macosx/features/java/
To determine if you have the correct version of Java, you can open a terminal window, and issue the following command:
java -version
You should see a version of 1.5 or higher. If you do not have the correct version, visit the above URL and obtain the latest version of Java. Figure C.1 shows a terminal window with the correct version of Java.
Figure C.1: Checking the Version of Java

Once you have Java installed, you must install Apache Ant.












