Site icon TechGit

How to download and install Java JDK on Windows 11/10

JDK (Java Development Kit) is a collection of tools required for developing and testing programs in the language. It is a package consisting of java development tools like java compiler and JRE. It is used for building applications using Java Programming Language. Java is an Object-Oriented Programing language that programmers use to develop java software. Java was developed by James Gosling, and it is owned by Oracle Corporation and Sun Microsystem. It is a platform-independent language. Java 18 is the latest JDK Development Kit for Windows, Linux, and macOS platforms. So without any delay, let us walk you through the process to download the JDK installer for Windows 11/10.

How to download and install Java JDK on Windows

How to download and install Java JDK on Windows 11/10

Here are the steps to install JDK (Java Development Kit) on Windows 11/10 computer systems:

  1. Check your Computer Compatibility
  2. Install JDK on the Computer
  3. Set up a Path in Environment Variable
  4. Check for JDK installation

1] Check your Computer Compatibility

Before installing JDK, it’s imperative to check whether your computer is compatible with the JDK version. JDK is compatible with Windows 11/10/8/7, but you need to be running the 64-bit version of the OS. Check if your system runs on the 32-bit or 64-bit OS, and then you can install JDK if you are on 64-it OS. If your system is 32-bit you need to either upgrade your system or go with a different version of JDK that supports 32-bit architecture.

Once you have verified that your system is compatible with JDK, let’s go straight to the process of downloading the JDK installer in Windows 11/10.

2] Install JDK on the computer

To install the latest version of Java JDK, follow the below process.

  1. First, to get the latest version of Java JDK, open the Java JDK 18 download page
  2. Now, in the Product/File Description go to the Windows x64 Installer
  3. And click on the Download link associated with Windows x64 Installer
  4. Check the box for I reviewed and accept the Oracle Technology Network Licence Agreement for Oracle Java SE
  5. And click on the Download button at the bottom
  6. Once, the download is completed, click on File Explorer > Downloads
  7. Now, double-click on the downloaded file of Java JDK (version may differ) to open it
  8. Click Yes on the UAC (User Account Control) prompt that pop up
  9. Click on the Next button
  10. You can click on Change to select an alternative folder to install Java SE or click on Next to continue with the default location file
  11. The installation is running, wait for the complete

Once done, you have completed half of the process, i.e., download and install JDK in Windows 11/10. However, you still have to set up a path variable for it. So, follow the next steps to do it.

3] Set up a Path in Environment Variable

In the above steps, you have checked your system and downloaded java JDK for your OS. You need to set up a path in Environment Variable to get things up and running. So, follow the below steps to perform this task.

C:Program FilesJavajdk-18.0.2bin

C:Program FilesJavajdk-18.0.2

That’s it, Java JDK has been installed on your computer now you can start working on it right away.

Also read: How to set Java_HOME in Windows

4] Check for JDK installation

Many users have doubts and want to check whether the JDK is installed on their computer or not. If you also want to check, follow the below steps

Java -version

How do I update my JDK to the latest version?

Follow the below steps to update JDK to the latest version.

  1. Click on the Windows start button > Settings > Control Panel
  2. Now, in the Control panel list, click on the Java icon
  3. Select the Update tab then click the Update Now button
  4. Click Yes to allow changes

Also read: Understand and Manage Java settings in Windows

How do I check my version of Java?

Follow the below steps to check the version of Java JDK version.

  1. Open the Window search menu and type cmd
  2. Open the Command Prompt and type the java -version command
  3. After that, click on Enter button
  4. Now, you can see the JDK version installed on your computer

Original Article

FacebookTwitterTumblrRedditLinkedInHacker NewsDiggBufferGoogle ClassroomThreadsXINGShare
Exit mobile version