For Windows 7, I\'ve installed JDK in both 32 and 64 bit versions. The versions are 8, update 20 for all four installations. http://www.oracle.com/technetwork/java/javase/d
You can set the system-wide environment variables by clicking Start, pointing to 'Computer', right-clicking and selecting properties. Next, click 'Advanced System Settings', hitting the 'Advanced' tab and selecting the 'Environment Variables' button. This brings up a window where you can set your JAVA_HOM
E variable. You can do this either for the current user (top box) or system-wide.
After doing this, open a new cmd window (Start menu, type 'cmd
' and hit enter) and verify JAVA_HOME
is set like in the question above.