Set JAVA_HOME in Microsoft Windows systems
Feb 27th, 2007 by Onyrix 969 Views |
Email This Post
|
Print This Post
To set correctly JAVA_HOME in Windows 2000, XP, 2003 (and also Vista) systems follow this instructions:
1. Right click on the My Computer icon on your desktop and select properties
2. Click the Advanced Tab
3. Click the Environment Variables button
4. Click New
5. Enter JAVA_HOME as the variable name and the directory where you installed JAVA (for example: C:\Programmi\Java\jdk1.5.0_07).
Note: if path has blank spaces enclose it between double-quotes (example: “C:\Program Files\Java\jdk1.5.0_07″ )
Add in the Environment Variables PATH the path to the bin directory of JAVA_HOME, example:
C:\Programmi\Java\jdk1.5.0_07\bin
Ah! i forgot- don’t forget to restart… i don’t remember if it’s needed, but for sure it is not a bad thing!

del.icio.us
Digg
Furl
Reddit
Technorati