JDK 8 Installation on Windows 10 Operating System

First of all to start the development of a java application your system should have JDK installed. This is the first step to start developing the java application. In this article, you are going to learn how to download JDK 8 and install it on Windows 10 Operating System.

NOTE: JDK is a java development kit whereas JRE is a java runtime environment that allows the java program to run. If you want to develop Java applications, install the Java Development Kit. The JDK includes the JRE, so you do not have to download both separately.

Software Dependency

  • JDK 1.8
  • Windows 10

Here we are going to download 64 bit of JDK 1.8 and install it on 64 bit of Windows 10 Operating System.

NOTE: If your system is of Windows 32 bit operating system then you should install JDK 32 bit and if your system is of Windows 64 bit operating system then you have a choice you can install JDK 64 bit or JDK 32 bit in your system.

The recommendation is install JDK 64 bit if your windows is 64 bit operating system.

Step-1: Download JDK Software

To download JDK visit it’s official website here Oracle Website’s Java and go to Java SE 8 and click on JDK Download as shown in below image.

Now select appropriate JDK software of windows x64 as shown in below image.

Java SE Development Kit 8u281

NOTE: Oracle requires an account (sign-in) to download older versions of Java that are no longer available to the public. You can download publicly available versions of Java without signing in which is the latest version only.

Now finally you have to accept the license agreement and then click on download button as shown in below image.

Step-2: JDK Installation

Once you have downloaded the JDK Software double click on it to see the start of installation. In our case, I have already downloaded jdk-8u144-windows-x64.exe

Now click Next to see the below image, Here you have a choice to change the java installation directory by clicking on the change… button otherwise simply go with the default path by clicking Next > button. I am going for the default path only.

Once you click the Next, you will see the start of installation process as below image. After successful installation close the wizard.

Step-3: Setup System Environment Variables

System Environment Variables path:

Right click on MyComputer -> properties -> Advanced System Settings -> Environment variables

Now click on Environment Variables button > add JAVA_HOME & Path as shown in below images:

Now we should have to add Java Path. If the Path variable is already there then simply we can click on the Edit… button > then click the New button to add the path as below image.

Step-4: Verify the installation

To verify the installation open the command prompt(Win+R and type cmd) and then type java -version and press Enter key.

This is how you can install JDK 8 on Windows 10 system. I hope this article helped you.

Related Article:

Leave a Comment

Your email address will not be published. Required fields are marked *