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

  1. If you are planning to run CT configurations, you must have the Java runtime (JRE) environment.
  2. To develop CT applications, you must have the Java development (JDK) environment.
  3. When the "Java Setup" opens, click through the various "Install -> Accept -> Next" buttons. (Uncheck the option to install the Yahoo toolbar.)

Install Ant

  1. Go to the Ant download page: http://ant.apache.org/bindownload.cgi
  2. Download the ZIP file of the latest version.
  3. Extract the contents of the ZIP file to C:\ant
  4. Set the ANT_HOME system variable:
    1. Right-click on My Computer on the desktop or Start Menu
    2. Click Properties. A dialog box will appear.
    3. Click the Advanced tab.
    4. Click the Environment Variables button. A new dialog box will appear.
    5. Under System Variables, click New.
    6. Add variable with name ANT_HOME and value {{C:\ant (you may need to specify a different directory name depending on the current version of ant).
      }}
    7. Don't close the Environment Variables just yet.
  5. Add Ant to the PATH variable:
    1. Scroll down through the system variables until you find the PATH variable. Select it.
    2. Click Edit.
    3. Move the caret to the end (to the very right) of the "Variable value" box.
    4. Add the following text to the end. Don't forget the semicolon.
      ;%ANT_HOME%\bin
    5. Click OK on dialog boxes you've opened.
  6. Test whether Ant has been installed correctly:
    1. Open the Start Menu and click Run.
    2. Type in cmd and click the Run button.
    3. At the command prompt, type
      ant -version
      and press Enter/Return.
    4. If you get a message similar to
      Apache Ant version 1.7.1 compiled on June 27 2008
      then Ant has been successfully installed.