Download JDK 1.8 and Install on Windows 11

In this article, you will see how to download JDK 1.8 and install it in Windows 11. Here we will download version 8u331 of Java JDK 8 to install.

The Java Development Kit (JDK) is a distribution of Java Technology by Oracle Corporation. It implements the Java Language Specification and the Java Virtual Machine Specification and provides the Standard Edition of Java Application programming.

To start the development of a Java application, your system should have JDK installed. This is the first step to start developing any Java application.

Other Downloads for Windows 10

Java 8, Java 11, Java 17, Java 19, Java 20, Java 21

Other Downloads for Windows 11

Java 8, Java 11, Java 17, Java 19, Java 20, Java 21

Software Dependency

Java 1.8 (8u331)
Windows 11

Here we are going to download 64-bit JDK 1.8 and install it on the Windows 11 64-bit Operating System. If you want to install the latest updated version of JDK 8, visit another article here: [UPDATED] JDK 8 Installation.

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 installed.

How to Download JDK 1.8 and Install it on Windows 11?

The installation process of the Java Development Kit (JDK) on the Windows operating system is very simple. Follow the below steps:

  1. Java 8 Download for Windows 11 64-bit
  2. JDK Installation on Windows
  3. Setup System Environment Variables
  4. Verify the Java Installation

Step-1: Download JDK 8 for Windows 11 64-bit

To download the updated JDK 8u331 (as of April 2022) software, visit its official website Oracle Website’s Java, go to ‘Java SE Development Kit 8u331‘, and click on the link jdk-8u331-windows-x64.exe as shown in the below image.

Java SE Development Kit 8u331 download

This software is licensed under the Oracle Technology Network License Agreement for Oracle Java SE

java 1.8 download | jdk-8u331-windows-x64.exe download

Once you click on the link (jdk-8u331-windows-x64.exe), it will ask you to accept the License Agreement. Now you have to accept the license agreement and then click on the download button as shown in the below image.

jdk-8u331-windows-x64.exe download

Now once you click on the download link, it will ask you to sign in to the Oracle Account to allow the start downloading. If you have an account already, sign in with that otherwise create a new Account and then continue.

create oracle account sing in form

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.

Step-2: Install JDK-8u331 on Windows 11

Once you have downloaded the JDK 8 Software (jdk-8u331-windows-x64.exe), double-click on it to see the start of the installation process. Now click on the Next button to proceed.

jdk 8u331 start installation process

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.

jdk 8u331 installation process change path

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

jdk 8u331 installing
jdk 8u3131 installation success

Step-3: Setup System Environment Variables

System Environment Variables path:

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

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

JDK 8 JAVA_HOME environment variable setup

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.

JDK 8 Java Path environment variable setup

To know a detailed explanation of setting Java Path, visit another article here: Set JAVA_HOME environment variable on Windows 10.

Step-4: Verify the Java Installation

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

JDK 8 verify the successful installation

Congratulations! You have successfully installed the Java Development Kit (JDK) 8 on your Windows 11 operating system.

Now create the first Java Program Hello World!

Oracle JDK License Update

The Oracle JDK License has changed for releases starting April 16, 2019.

The new Oracle Technology Network License Agreement for Oracle Java SE is substantially different from prior Oracle JDK licenses. The new license permits certain uses, such as personal use and development use, at no cost — but other uses authorized under prior Oracle JDK licenses may no longer be available. Please review the terms carefully before downloading and using the product. An FAQ is available here.

These Java SE 8u211 and later updates releases are provided under the Java SE OTN License.
Java SE 8u202 and older updates are available, under the Binary Code License (“BCL”).

For production use, Oracle recommends downloading the latest JDK and JRE versions and allowing auto-update.

WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production.


In this article, you have seen how you download and install Java development kit (JDK) 1.8 on the Windows operating system. 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.

Start learning Top Java Logical Programs now.


Can we install both JDK 8 and JDK 11?

Yes, when we are working on multiple projects, some of which use Java 8 and some of which are new projects using Java 11. So we are required to install both on a single machine and we can switch between these versions easily.

Can I install multiple versions of JDK?

Yes, you can install multiple versions. you don’t have to do anything special for that to happen, as Sun is creating a different folder for each (under Program Files).

Do I need JRE if I have JDK?

You do not need to install JRE then, as JDK usually consists of both development & run-time environments in it. If you install JDK then JRE will already be packaged in it and installed automatically along with JDK.

Is Java 1.8 the same as Java 8?

8 is the product version number and 1.8 is the developer version number (or internal version number). The product is the same, JDK 8, anyways.

Related articles:

You may also like:

Share with friends

Leave a Comment

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