Tip - Setting the JAVA_HOME in Windows 7 (64 bit) | Kaan Mutlu's Blog on WordPress.com
After you have downloaded and installed the Java Development Kit (JDK) in Windows, you must set the JAVA_HOME environment variable to point to the JDK installation directory. You must follow these steps to set JAVA_HOME variable on your Windows system. Right-click the My Computer icon on your desktop and select Properties. Click Advanced system settings…