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 are going to 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. 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, and search for download Java JDK. Open the link from oracle.com and download Java SE Development Kit 19 Windows x64 Installer file.
Now select your operating system and click on the download link and “Accept License Agreement” to download the Java JDK 19 Installer file.

Note:- If it redirects you to the Oracle account creation, simply create an Oracle account in order to download the Java JDK installer file. Account creation is completely free.
How to Install Java JDK on Windows 11
In this section, we’ll discuss how to install Java JDK 19 on Windows 11. After the download has been completed, follow these simple steps to install and set up Java JDK on Windows 11.
Step 1: Open the Java JDK installer file and it will open the installation wizard simply 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 but I will suggest you keep it to default and click on “Next” to continue. After that, Java JDK will be installed on your Windows 11.

Step 3: The installation process will take some time, so wait until the installation process is completes. After the installation process is completed just click on the “Close” button.

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 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“, and copy the path of the bin folder.
Note:- Now you have to set the environment variable.

Step 3: For that 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 “OK“.

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.”
By using the “java -version
” command, you can check the Java JDK version 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 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.