Home » java-tutorial » How to Download & Install Java JDK 8 in window

Newly Updated Posts

How to Download & Install Java JDK 8 in window

In this tutorial we will learn how to Download & Install Java JDK 8 in window?

Step 1: Download java and setup java

How to Download & Install Java JDK 8 in window

  • Now Accept the Licence Agreement, always remember to choose correct JDK as per OS (Window, Mac, Linux)
How to Download & Install Java JDK 8 in window
  • On click to JDK .exe file,It will start downloading at the bottom(refer screenshot) below
Install java jdk 8

  • Now double click to jdk .exe file . The installation will start and click to next button
install java jdk

  • Installation will start with status of download
setup java jdk kit in window

  • Once the installation is completed. A last window of installer will open click to Close.

How to Download & Install Java JDK 8 in window
  • Now the next step is to install Java path on environment variable

Step->Right click to My computer-> properties->Select Advanced system settings->Click to Environment Variables at the bottom

setup environmental variable for java jdk in window
  • Under Environment Variable window->Under System variable->Select Path from Grid and click to Edit button(Refer Screenshot)
setup environmental variable for java jdk in window

  • Under Edit Environement window, Click to new button and add the java path till bin. Suppose you have Installed JDK in path->c:\Program Files\java\jdk1.8.0_77\bin

So in this case provide the jdk path till bin folder and click to OK button(Refer screenshot)

setup JDK path in environmental variable

  • Now Verify Java Installation

Open Command Prompt and enter java -version and click Enter(Refer Screen shot)

check jdk version from command prompt

So following the below steps we have learned how to Download & Install Java JDK 8 in window.