Note that in Windows, you will need to bring up a new command window to see these settings.
Table 19.2. Environment Variable Settings
| Variable | Example 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:
| Allows command line invocation of java, jar, startup, shutdown, ant, etc. |