First of all, to start developing a java application, your system should have JDK installed. This is the first step to starting developing the java application. In this article, you will learn how to download jdk 1.8 for windows 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.
- JDK 1.8 (8u144)
- Windows 10
Here we are going to download 64-bit JDK 1.8 (8u144) and install it on the 64-bit Windows 10 Operating System. If you are interested in downloading and installing the latest update JDK 1.8 (8u311), then you can visit another article here: JDK 8 [latest update] Installation on Windows 10
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 either 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.
How to install JDK 8 in windows 10?
Installing the Java Development Kit (JDK) on the Windows machine is very simple, you just follow the below steps:
- Java JDK 1.8 download for Windows 10 64-bit
- Install JDK on Windows
- Set Java path in system environment variables
- Verify the Installed Java version
Step-1: Download Java JDK 1.8 for Windows 10 64-bit
To download java for windows, visit the official website Oracle Website’s Java, go to ‘Java SE Development Kit 8u144‘, and click on the link jdk-8u144-windows-x64.exe as shown in the below image.
Java SE Development Kit 8u144
This software is licensed under the Oracle Binary Code License Agreement for Java SE Platform Products
Now select the appropriate JDK software of windows x64 (jdk-8u144-windows-x64.exe) as shown in the above image.
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 the download button as shown in the below image.
Step-2: Install Java JDK 8 on Windows 10
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 the Next > button. I am going here with the default path only.
Once you click Next, you will see the start of the installation process as below image. After successful installation, you just close the wizard.
Step-3: Set Java Path in System Environment Variables
System Environment Variables path:Right click on MyComputer -> properties -> Advanced System Settings -> Environment variables
Now click on the Environment Variables button > add JAVA_HOME & Path as shown in the 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 in the below image.
You can follow the details explanation for setting the JAVA_HOME path here: Set the JAVA_HOME environment variable on Windows 10.
Step-4: Verify the installed Java Version
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.
In this article, you have seen how java JDK 8 downloads for Windows and install it. Now you can be able to do the installation of other versions of JDK also with a similar set of steps that you have seen.
Can I install JDK on Windows 10?
Yes, but you must have administrator privilege to install the JDK on the Microsoft Windows operating system.
What does Java version 1.8 mean?
8 is the product version number and 1.8 is the developer version number (or internal version number).
Do I need to install both JDK and JRE?
No, If you install JDK then JRE will already be packaged in it and installed automatically along with JDK. You do not need to install JRE separately.
Can JDK and JRE be different versions?
Yes, The JDK and JRE versions can be different as multiple JDK and JRE versions are allowed on the same computer. You can check out this in the system environment variables.
Does JDK 8 include JRE?
JRE is a part of JDK so no need to have JRE when you have JDK. If you open the JDK folder and see, you’ll have the JRE folder inside it which is the same as the JRE folder initially you have.
How to check the Java version in the command prompt?
Refer to the above installation step no-4.
- How to Download and Install JDK 11 on Windows 10?
- How to install Maven on Windows System
- How to install and configure Tomcat Server in Eclipse?
- Install MySQL Server 8.0.27 [zip Archive] on Windows 10