19.3. Environment Variable Settings

Note that in Windows, you will need to bring up a new command window to see these settings.

Table 19.2. Environment Variable Settings

VariableExample Setting (Windows)Misc
JAVA_HOME c:\java\java1.5.0_03 Needed by Ant.
ANT_HOME c:\public_hackystat\apache-ant-1.6.5  
CATALINA_HOME c:\public_hackystat\apache-tomcat-5.5.12  
CATALINA_OPTS -Xmx128M -Xms96M Also might want: -Djava.awt.headless=true
CHECKSTYLE_HOME   
PATH

Add the following (with correct version values, etc) to your path:

  • c:\j2sdk1.4.2_03\bin

  • c:\public_hackystat\apache-ant-1.6.5\bin

  • c:\public_hackystat\apache-tomcat-5.5.12\bin

Allows command line invocation of java, jar, startup, shutdown, ant, etc.