Manual

3. Enter the variable name as JAVA_HOME and variable value as <Java installation
directory on Windows>.
For example: Enter C:\Program Files\Java\jdk1.5.0_05\bin as the value of
PATH and C:\Program Files\Java\jdk1.5.0_05 as the value of JAVA_HOME.
4. Click OK.
5. Click Apply Changes.
If you do not have JDK installed on your Windows system, download it from the website:
http://java.sun.com/javase/downloads/index.jsp
NOTE: All applications have been verified using JDK version 1.5.
Ant
The version of Ant installed on your system must be 1.7.0 or later.
If you already have Ant installed on your Windows system, check its version using the command:
Command Prompt> ant version
Apache Ant version 1.7.0RC1 compiled on November 5 2006
The version of Ant must be 1.7.0 or later.
If the ant -version command returns an error:
'ant' is not recognized as an internal or external command, operable program or batch file.
set the PATH and ANT_HOME variables using the following steps:
1. Right-click My Computer on your desktop and select Properties.
The System Properties window appears.
2. Click the Advanced tab.
3. Click Environment Variables.
A list of environment variables appears.
4. In the User Variables dialog box, check if the PATH and ANT_HOME variables exist.
If these variables are present, verify the following:
The PATH variable includes the bin directory of <Ant installation directory
on Windows>
The ANT_HOME variable is set to <Ant installation directory on Windows>
If the PATH and ANT_HOME variables exist but do not contain the bin directory of <Ant
installation directory on Windows>\bin and <Ant installation directory
on Windows> respectively, set them as explained below:
1. Add <Ant installation directory on Windows>\bin to PATH, separated by
semicolon, and <Ant installation directory on Windows> to ANT_HOME.
For example: Add C:\ant1.7.0RC1\bin to PATH and C:\ant1.7.0RC1 to ANT_HOME.
2. Click OK.
3. Click Apply Changes.
If the PATH and ANT_HOME variables do not exist, follow these steps:
1. Click New on the User Variables dialog box.
2. Enter the variable name as PATH and variable value as <Ant installation directory
on Windows>\bin.
32 Introduction