Hello, welcome to read this article, I hope you find the best out of it. In this article, I will be listing the steps in installing java 21 JDK. As at the time you are reading this article, JDK 20 is the latest release of Java SE Platform and JDK 17 LTS is the latest long-term support release for the Java SE platform.

The java JDK is an important tool for java developers.
The following are some uses of this development kit
- Java Development
- Accessibility to Java standard library
- Integration with IDEs
Now Let's take a look at the steps in order to get the java 21 JDK (This articles applies to windows users)
- Go to https://jdk.java.net/21/ (Applies to users on other OS)
- Install the Windows version of the JDK( which is a zip file )
- Extract the zip file to access jdk-21 folder ( This folder contains all the necessary tools such as the Java compiler, Java Runtime Environment etc.
- Copy the path to the jdk-21.
- Open the the start menu and search for "Environment Variables. Open the "Edit the system environment variables" option.
- Go to system variable section and select "New"
- In the variable name enter "JAVA_HOME" and enter the path you copied in step 4 into the variable value field.
- Click okay
- Finally, let's add the path to the bin by selecting path then new under the same system variable and then paste and append \bin to the link copied in step 4. Select okay.
Great!!! you have successfully setup java 21 JDK on your machine. Test it out by opening the terminal and using "java --version" to test it out.
Don't forget to leave a feedback.
Top comments (0)