How to install Java 17 on Windows 11

In this article, we will see how to install Java 17 on Windows 11. Java is one of most used programming language.

Following actions are going to perform in this article:

1. Check Java version Windows 17.
2. Install Java on Windows 17.
3. Create Environmental Variables for Java in Windows 17

How to check the Java version on Windows 17

1. Go to Official Java download page

2. Then, select Windows and Click on link at X64 Installer(exe file) to download JDK(Which includes JRE).

How to install Java 17 on Windows 11

3. Once download completes, double click on downloaded jdk exe file.

jdk-17_windows-x64_bin.exe

4. Click on Next.

5. If we want to change default path, then click Change. Otherwise click on next.

6. Installation is completed. Click on close button.

Create environmental variable for Java 17 on Windows 11

1. Click on windows button on your keyboard and then type “env”. Click on Edit the system environmental variables.

2. Click on Environmental Variables.

3. Select variable as shown below and click on edit.

4. Click on New and paste the jdk path: C:\Program Files\Java\jdk-17.0.5 in the last line and click on ok

Click on ok(Thrives).

5. Now open command prompt and verify java is installed or not using the below command.

java --version

So in this article, we have seen how to download, install Java 17 on Windows 11. Then, we have seen how to set Environmental Variable for Java on Windows 11.

Leave a Reply

Your email address will not be published. Required fields are marked *