In this guide, we will learn: How to Install Java JDK on Windows 11 – guide 2023
The Java Development Kit (JDK) is a depiction of Java Platform, Standard Edition, Enterprise Edition, or Micro Edition platforms released by Oracle Corporation as a consequence of a binary product to finding out at Java developers on Solaris, Linux, macOS, or Windows.
Here we will discuss; how to install and set up Java JDK 19 on Windows 11. Java JDK 19 is the latest version of the Java SE Development Kit. If you want to install Java JRE, you can also check our guide on; how to install Java JRE on Windows 11.
How to Download Java JDK on Windows 11
Open any browser, search for download Java JDK and visit the link from oracle.com to download it. The link will open the download page. Here, select your operating system.
To download Java SE Development Kit 19 for the Windows operating system, click on the x64 Installer file link. After that, “Accept License Agreement” to download the Java JDK 19 Installer file.
Note:- It will be redirected to the login screen. To download the file, you have to have an Oracle account. Here you can check why you need an Oracle account and how you can create a free Oracle account.
How to Install Java JDK on Windows 11
Once the download process is complete, let’s discuss how we can install Java JDK 19 on Windows 11. For that, you can follow the steps mentioned below to install and set up Java on Windows 11:
Step 1: Open the Java JDK installer file. It will open the installation wizard. Here, click on the “Next” button.

Step 2: On the next window, you will get the option to change the installation location. You can change your installation location. Or else, you can continue with the default location and click on “Next” to continue. After that, Java JDK 19 will start the installation process on your Windows 11.

Step 3: The installation process will take some time, so wait until the installation process is complete. Click the “Close” button once the installation is complete.

How to Setup Java JDK on Windows 11
By just downloading and installing Java JDK, Java will not work. To run and compile Java code, we need to set the environment variable for the Java bin folder path. To set up the Java JDK environment variable, you can follow these steps:
Step 1: Open C Drive > Program Files folder and look for the Java folder and open it.
Step 2: Inside the Java folder, you will find a JDK folder, open it and open the bin folder. Now copy the path of the bin folder.
Note:- Now you have to add this path to the environment variable settings.

Step 3: Go to Control Panel > System and Security > System > Advanced System Setting > Environment Variables.

Step 4: Under the System variable, you will find “PATH” just select it and click on edit. Now click on New and add the bin folder location. After that, click on the “OK” button.

How to Verify Java Installation on Windows 11
Now, to check whether Java is successfully set up or not. Open Command Prompt and type these two commands “java -version” and “javac.”
You can check the Java JDK version using the “java -version
” command. And the “javac
” command will help you to understand whether the Java compiler is set up or not.
javac is a compiler that allows you to compile your java file. If you find a bunch of statements in the command prompt, Java JDK is fully set up on your Windows operating system.

Conclusion
That’s it; this is how you can install and set up Java JDK 19 on Windows 11. Now, to start with Java development, you have to use Eclipse IDE. Eclipse IDE will help you to write and run the Java program. Here is a guide on how to set up Eclipse IDE for Java on Windows 11.
I hope this article was helpful to you. If you liked the article, share it with your friends and family. You can also check our guide on; how to set the JAVA_HOME variable on Windows 11. If you have some suggestions or queries related to Java JDK, do not hesitate to leave them in the comments section below.
If this guide helped you, please share it. 🙂