How to Download and Install Java JDK on Windows 11/10
JDK (Java Development Kit) is a collection of tools needed to develop and test programs in the language. It is a package consisting of Java development tools like Java compiler and JRE. It is used to create applications using the Java programming language. Java is a Object-oriented programming language that programmers use to develop java software. Java was developed by James Gosling and 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 further ado, let us walk you through the process to download JDK installer for Windows 11/10.
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:
- Check your computer’s compatibility
- Install JDK on computer
- Configure a path in the environment variable
- Verify JDK installation
1]Check the compatibility of your computer
Before installing JDK, it is imperative to check if your computer is compatible with the JDK version. JDK is compatible with Windows 11/10/8/7, but you need to run the 64-bit version of the OS. Check if your system is running on 32-bit or 64-bit OS, then you can install JDK if you are using 64-bit OS. If your system is 32-bit, you should either upgrade your system or use another 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 JDK installer in Windows 11/10.
2]Install JDK on computer
To install the latest version of Java JDK, follow the process below.
- First, to get the latest version of Java JDK, open the JDKJava 18 download page
- Now in the Product/File Description to go to the Windows x64 Installer
- And click on the Download link associated to Windows x64 Installer
- Check the box for I have read and accept the Oracle Technology Network License Agreement for Oracle Java SE
- And click on the To download bottom button
- Once the download is complete, click File Explorer > Downloads
- Now, double click on the downloaded file of Java JDK (the version may differ) to open it
- Click on Yes on the UAC (User Account Control) prompt showing
- Click on the Next button
- You can click To change to select an alternate folder to install Java SE or click Next to continue with the default location file
- Installation is in progress, wait for completion
Once done, you have completed half of the process i.e. download and install JDK in Windows 11/10. However, you still need to set up a path variable for it. So, follow the next steps to do so.
3]Configure a path in the environment variable
In the above steps, you have checked your system and downloaded Java JDK for your operating system. You need to set up a path in the environment variable to get things working. So, follow the steps below to perform this task.
- press the Window key to open the Look for menu
- Now type View advanced system settings and open the first result
- On the System properties page, go to Advanced tongue
- Then click on the Environment variables button
- Go to the System variable section, select the path variable and click on the Edit button
- Then click on the New right button
- Copy the JDK bin folder path below and paste it here (for JDK version 18)
- It may differ on your computer if you changed the location earlier during the installation process, so be sure to check it once
- Click it OKAY button after passing bin folder path
- Go again to Environment variable page and click on the New button in the System Variables
- Now on the New system variable set page Variable name What do you want
- Copy the path below and paste it to the variable value (for JDK version 18)
That’s it, Java JDK has been installed on your computer now you can start working on it right away.
Read also : How to set JAVA_HOME in Windows
4]Verify 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 steps below
- Click on the Windows icon and just type cmd in the search bar
- Open command prompt and type the below command and hit enter
- If the command prompt lists the version number along with other relevant information, you have JDK installed on the computer
- But if you receive a response that Java is not recognized as an internal or external command, usable program or batch file, it means you don’t have JDK installed yet. In this case, you must first uninstall JDK and reinstall it following the steps above.
How do I update my JDK to the latest version?
Follow the steps below to update JDK to the latest version.
- Click on the Windows Start button > Settings > Control Panel
- Now in the Control Panel list, click the Java icon
- Select the Update then click on the tab Update now button
- Click on Yes allow changes
Read also : Understand and manage Java settings in Windows
How do I check my Java version?
Follow the steps below to check the version of the Java JDK version.
- Open the Window search menu and type ordered
- Open the Command Prompt and type the java version ordered
- After that click on Walk in button
- Now you can see the JDK version installed on your computer
Read also : Java virtual machine launcher error, unable to create the Java virtual machine.