Setting Up CT Prerequisites on Windows
The following are instructions for Windows XP but the procedure on Windows vista or Windows 7 is similar.
Install the Java Environment
If you are planning to run CT configurations, you must have the Java runtime (JRE) environment.
To develop CT applications, you must have the Java development (JDK) environment.
When the "Java Setup" opens, click through the various "Install -> Accept -> Next" buttons. (Uncheck the option to install the Yahoo toolbar.)
Install Ant
Go to the Ant download page: http://ant.apache.org/bindownload.cgi
Download the ZIP file of the latest version.
Extract the contents of the ZIP file to C:\ant
Set the ANT_HOME system variable:
Right-click on My Computer on the desktop or Start Menu
Click Properties. A dialog box will appear.
Click the Advanced tab.
Click the Environment Variables button. A new dialog box will appear.
Under System Variables, click New.
Add variable with name
ANT_HOMEand value {{C:\ant (you may need to specify a different directory name depending on the current version of ant).
}}Don't close the Environment Variables just yet.
Add Ant to the PATH variable:
Scroll down through the system variables until you find the PATH variable. Select it.
Click Edit.
Move the caret to the end (to the very right) of the "Variable value" box.
Add the following text to the end. Don't forget the semicolon.
;%ANT_HOME%\binClick OK on dialog boxes you've opened.
Test whether Ant has been installed correctly:
Open the Start Menu and click Run.
Type in
cmdand click the Run button.At the command prompt, type
ant -versionand press Enter/Return.
If you get a message similar to
Apache Ant version 1.7.1 compiled on June 27 2008then Ant has been successfully installed.