Set these Windows environment variables using the procedure that follows:
|
Set: |
To: |
|
JAVA_HOME |
C:\j2sdk1.4.2_06 |
|
JBOSS_HOME |
C:\jboss-3.2.6 |
|
JBOSS_DIST |
C:\jboss-3.2.6 |
To set environment variables
1. Right-click the My Computer icon on the desktop.
2. Choose Properties, and then click the Advanced tab.
3. Click the Environment Variables button.
4. Locate the buttons in the System variables box and click the New button.
5. In the Variable Name field, type the name (for example, JAVA_HOME).
6. In the Variable Value field, type the name (for example, C:\j2sdk1.4.2_06).
7. Click OK.
Follow the same procedure for each environment variable.
Note: You may need to log off and log back on after you make these changes.
To check and change environment variables
1. Right-click the My Computer icon on the desktop.
2. Choose Properties, and then click the Advanced tab.
3. Click the Environment Variables button.
4. In the System variables box, locate Path.
5. Check to see if Path includes C:\j2sdk1.4.2_06\bin.
6. If not, highlight Path, click Edit, and add C:\j2sdk1.4.2_06\bin.
7. Click OK.