Tuesday, January 17, 2012

Install JDK 7 on Windows 8

Browse to Oracle download page(http://www.oracle.com/technetwork/java/javase/downloads/index.html) to download Java Platform (JDK), the current version is Java Platform (JDK) 7u2.
Browse to Oracle download page

Click to Accept License Agreement, select download Windows x86 ot x64. It's jdk-7u2-windows-i586.exe for Windows x86 in my case.
Download setup file

Execute the downloaded file.

Accept the Destination Folder, click Next.
Accept the Destination Folder

Click Continue button to continue JavaFx 2.0 SDK Setup.
JDK Setup complete

Install JavaFx 2.0 SDK Setup, click Next.
Install JavaFx 2.0 SDK Setup

Accept the JavaFx 2.0 SDK installation director.
Accept the JavaFx 2.0 SDK installation director

Complete by clicking on Close button.
JavaFX 2.0 SDK Setup - Complete

A browser will open for you to register your software.
In order to verify the setup correct, you have to run "cmd" in Windows. Refer to the article about how to run "cmd" in Windows 8.

Update to this step, you cannot run javac except you are in C:\Program Files\Java\jdk1.7.0_02\bin. Because you haven't set PATH.
Update to this step, you cannot run javac except you are in C:\Program Files\Java\jdk1.7.0_02\bin

To setup path, refer to the post "Set PATH for JDK 7 on Windows 8".

Refer to the post "Hello World of Java 7 on Windows 8, in 'cmd' DOS Prompt" to verify your JDK installation.

Updated@2013-01-17: Install JDK 7 on official Windows 8


  1. I tried this way to download java jdk 7u9 but when I run it it give me that the not supported by ur os ???

  2. I set d path as C:\Program Files (x86)\Java\jre1.7.0\bin>
    will this nt work.? I tried but it gava an error..what shud i do?

  3. Post your os's picture with JDK7 installed..
    Got error not support os... Any Help?

  4. Deal all, I re-install Java SE 7u11 on Official Windwos 8(not Preview version) and have no problem. Please read Install JDK 7 on Windows 8 (Official version).

  5. accidentally deleted PATH variable - Windows 8. Help...

  6. Great job. One comment probably is important to know if your system is a 64 bit or 32 bit. :)

  7. Hey i need solution to
    local java cannot detected