Home  >  Article  >  How to set jdk environment variable configuration in win11 system

How to set jdk environment variable configuration in win11 system

WBOY
WBOYforward
2023-07-03 16:21:189990browse

How to set jdk environment variable configuration in win11 system? There are many users who want to use java in windows11 system. However, I was stumped at the step of setting environment variable configuration, and could not complete effective settings. Today, the editor will explain to you the latest win11java environment variable setting tutorial. Users can easily complete it as long as they follow this tutorial.

How to set jdk environment variable configuration in win11 system

win11 latest java environment variable setting steps

1. Open Windows Settings (Win i), navigate to the [System>System Information] path, and then Find and click [Advanced System Settings] next to the relevant link;

How to set jdk environment variable configuration in win11 system

2. System Properties window, switch to the [Advanced] tab, and then click [Environment Variables] at the bottom ;

How to set jdk environment variable configuration in win11 system

3. In the environment variables window, click [New] under system variables;

How to set jdk environment variable configuration in win11 system

4. Edit system In the variable window, fill in [JAVA_HOME] for the variable name, and the variable value is the path to the directory where the JDK is installed;

How to set jdk environment variable configuration in win11 system

5. Then, select the [Path] variable under system variables, and then Click [Edit];

How to set jdk environment variable configuration in win11 system

6. In the Edit Environment Variables window, click [New], then fill in [%JAVA_HOME%bin], and click [OK];

How to set jdk environment variable configuration in win11 system

7. Finally, open the command prompt window [Method: press the Win R key combination, enter CMD in the run window], enter [java], and then press Enter, there will be a corresponding Content output;

How to set jdk environment variable configuration in win11 system

#Input [java -version] can be used to check the version number.

How to set jdk environment variable configuration in win11 system

The above is the entire content of [How to set up jdk environment variable configuration in win11 system - the latest java environment variable setting steps in win11]. More exciting tutorials are on this site!

The above is the detailed content of How to set jdk environment variable configuration in win11 system. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:chromezj.com. If there is any infringement, please contact admin@php.cn delete