Please follow these steps:

Navigate to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

02_jsedk_checkyesforliscence

Under Java SE Development Kit 8u121 Accept License Agreement by Clicking Accept License Agreement.radio button.

02a_jsedk_thankyoumessage_

Note: You can see your thank you message and you are now authorized to download the software.

Based on your windows Windows x86 or Windows x64 platform, click the downloadable .exe installer.

Tips : In my case, I am using windows 64-bit operating system. If you are not sure what your windows operating system is then follow these steps:

  • Click on Start
  • Right click on Computer> Select and click on Properties. Click on System Properties

02b_jsedk_systemtype

  • Look under system type you will see what the system type is.

03_jsedk_clickwindows64bit

Click on jdk-8u121-windows-x64.exe next to Windows x64 and begin the download process.

Note: jdk-8u121-windows-x64.exe installer is downloaded.

04_jsedk__clickarrowclickopen

Click on dropdown arrow and Click on Open.

03b_jsedk__starttodownload

Notes: Installation process starts.

Click yes for User Account Control dialog.

05_jsedk__clicknext

Click Next.

06_jsedk__clicknext

Click Next.

06a_jsedk__uploadprogress

Note: Upload starts.

07_jsedk__clicknext

Click Next.

07a_jsedk__javasetupprogressbegins

Note: Java Setup progress begins.

08_jsedk__click_close

Click Close.

09_testjavac

Note: Navigate to C:\Program Files\Java

Great, you can observe your jdk1.8.0_121 file and you have successfully downloaded and installed Java-Development-Kit (JDK) on Windows 7