Java for ColdFusion Developers
E.3 Setting JAVA_HOME
The environment variable JAVA_HOME tells the compiler where to find the home directory of your Java installation.
Example on Windows XP:
-
Navigate to Start > Control Panel > System
-
Choose the Advanced tab
-
Click Environment Variables
-
In the System Variables pane, click New
-
For Variable Name , type JAVA_HOME
-
For Variable Value type, C:\j2sdk1.4.0 for a default installation of SDK 1.4. You may need to adjust your value based on your installation.
Follow the same instructions for related environment variables such as TOMCAT_HOME .
| |
| Top |