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.
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;
2. System Properties window, switch to the [Advanced] tab, and then click [Environment Variables] at the bottom ;
3. In the environment variables window, click [New] under system variables;
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;
5. Then, select the [Path] variable under system variables, and then Click [Edit];
6. In the Edit Environment Variables window, click [New], then fill in [%JAVA_HOME%bin], and click [OK];
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;
#Input [java -version] can be used to check the version number.
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!