Friday, April 8, 2011

How to set JAVA_HOME / PATH variables in Windows

1. Right click on the My Computer and select properties
2. Click Advanced Tab
3. Click Environment Variables
4. Under System Variables, click New
5. In the Variable name field, enter JAVA_HOME
6. In the Variable value field, enter the path to where the JDK is installed


7. Under System Variables,  look for Path and click Edit
8. In the Variable value, add %JAVA_HOME%\bin;


9. Click OK
10. Click Apply

No comments: