After the install completes you can verify that you installed to the correct (for this example anyway) location. Look on your “C:” drive for the “java” folder. Inside it should be two folders: jdk1.6.0 and jre1.6.0

After checking the location verify that you can run java commands…

Click on the “Start” Button

Click on “Run…”

In the “Open:” box enter “cmd” and click “OK”

A command window will open

Type “java -version” in the command window

You will get a response indicating that you are running “Java version “1.6.0””

We now have our JDK installed and access to a working JRE which we will need in future steps.

But we’re not finished yet. We will want to setup a few environment variables which may serve to keep us out of trouble later.

Right click on your “My Computer” icon and choose properties.

Click the “Advanced Tab”

Click the “Environment Variables” button

Under the “System Variables” section of the window click “New”

Enter the “Variable Name” — JAVA_HOME

Enter the “Variable Value” — C:\java\jdk1.6.0

Click OK.

Again, under the “System Variables” section of the window click “New”

Enter the “Variable Name” — JDK_HOME

Enter the “Variable Value” — C:\java\jdk1.6.0

Click OK.

Under the “System Variables” find the system variable with then name “Path”