Set PATH for JDK 7 on Windows 8 for Java

Set PATH for JDK 7 on Windows 8

Download

.. and here is one on Java’s page.

How I Set or Change the PATH system variable?

– http://www.java.com/en/download/help/path.xml

 

You can run the JDK without setting the PATH environment variable, or you can optionally set it so that you can conveniently run the JDK executable files (javac.exe, java.exe, javadoc.exe, and so forth) from any directory without having to type the full path of the command.

To setup PATH in Windows 8:
Run Control Panel in Windows 8’s Metro UI

 

Step by step tutorial with images, will get you or anyone else in right direction. Youtube also has plenty good videos on setting up Android SDK and Java as well.

Java-Buddy: Set PATH for JDK 7 on Windows 8

1

Click More Settings in Control… on the left.

2

Search “Environment Variables” in Control Panel, and click “Edit the system environment variables”.

3

Click on “Environment Variables…”

4

Scroll down to highligh and edit path items.

5

My full path of the bin folder of the JDK is:
C:\Program Files\Java\jdk1.7.0_02\bin

So add “;C:\Program Files\Java\jdk1.7.0_02\bin” in the path string.

SetPath_06

Click OK… to finish.

Re-open Windows 8’s “cmd” window, now i can start java and javac in anywhere.

SetPath_07