To run Java Control Panel on Windows 8, search java in Settings.
Showing posts with label Windows 8. Show all posts
Showing posts with label Windows 8. Show all posts
Wednesday, January 16, 2013
Set PATH to JDK on Windows 8 (official version)
Last post described how to "Download and Install JDK 7 on Windows 8 (Official version)".
After downloaded and install JDK 7 on Windows 8, now open a Command Prompt window to run java or javac...!!!
you can optionally set PATH environment variable to JDK 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 set path, search "Environment Variables" in "Settings", click "Edit the system environment variables".
Click "Environment Variables".
Select System variables of Path, and click Edit...
Add the location of the bin folder of the JDK installation, in my case it is "D:\Program Files\Java\jdk1.7.0_11\bin".
Now, you can close and re-open Command Prompt window, type java and javac to varify your setting.
After downloaded and install JDK 7 on Windows 8, now open a Command Prompt window to run java or javac...!!!
you can optionally set PATH environment variable to JDK 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 set path, search "Environment Variables" in "Settings", click "Edit the system environment variables".
Click "Environment Variables".
Select System variables of Path, and click Edit...
Add the location of the bin folder of the JDK installation, in my case it is "D:\Program Files\Java\jdk1.7.0_11\bin".
Now, you can close and re-open Command Prompt window, type java and javac to varify your setting.
Install JDK 7 on Windows 8 (Official version)
In this post, I describe how to download and install JDK 7 (Java SE 7u11 currently) on official Windows 8 (not Preview version).
Note: You must have administrative permissions in order to install the JDK on Microsoft Windows.
Note: Installers for JDK 7u6 and later install the JavaFX SDK and integrate it into the JDK installation directory.
Visit http://www.oracle.com/technetwork/java/javase/downloads/index.html, click the download Java Platform button.
Scroll down to check Accept License Agreement, select Java SE Development Kit 7u11, jdk-7u11-windows-i586.exe for Windows x86.
Run the downloaded installer.
Select optional features and location to install.
Select location to install jre.
Completed.
Next:
- Set PATH environment variable to JDK on Official Windows 8
Note: You must have administrative permissions in order to install the JDK on Microsoft Windows.
Note: Installers for JDK 7u6 and later install the JavaFX SDK and integrate it into the JDK installation directory.
Visit http://www.oracle.com/technetwork/java/javase/downloads/index.html, click the download Java Platform button.
Scroll down to check Accept License Agreement, select Java SE Development Kit 7u11, jdk-7u11-windows-i586.exe for Windows x86.
Run the downloaded installer.
Select optional features and location to install.
Select location to install jre.
Completed.
Next:
- Set PATH environment variable to JDK on Official Windows 8
標籤:
how to,
installation,
JDK,
tools,
Windows 8
Subscribe to:
Posts (Atom)