Home  >  Article  >  System Tutorial  >  Where is the location of configuring environment variables in win7?

Where is the location of configuring environment variables in win7?

WBOY
WBOYforward
2024-03-02 09:30:26708browse

Configuring environment variables in Win7 system is a common operation, which can help us manage the system more conveniently. PHP editor Zimo tells you that the location for configuring environment variables in Win7 is "Control Panel" -> "System and Security" -> "System" -> "Advanced System Settings" -> "Environment Variables". Here, you can add, edit, and delete system environment variables to facilitate your personalization and optimization of the system.

Where is the location of win7 configuration environment variables

1. First install the corresponding software.

Where is the location of configuring environment variables in win7?

2. Then right-click the computer on the desktop, select Properties, then open it and click "Advanced System Settings"

Where is the location of configuring environment variables in win7?

3. Click "Environment Variables" here

Where is the location of configuring environment variables in win7?

4. Click New, enter the variable name JAVA_HOME, and the variable value is the jdk installation path

Where is the location of configuring environment variables in win7?

Where is the location of configuring environment variables in win7?

5. Locate and edit the Path variable, click on its end to add the leg variable %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;.

Never overwrite the original value. If you make a mistake, select the Negate button to undo the modification. To prevent accidents, you can temporarily back up the contents of the path variable in advance.

Where is the location of configuring environment variables in win7?

6. Create a new CLASSPATH variable and assign the value to ".%;JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar", before the first semicolon A "." is set.

7. Enter cmd and press Enter to enter the command line

Where is the location of configuring environment variables in win7?

8. Enter the "java -version" command in the terminal to view the Java version information. As shown in the figure, this means that we have successfully completed the installation and configuration process.

Where is the location of configuring environment variables in win7?

The above is the detailed content of Where is the location of configuring environment variables in win7?. For more information, please follow other related articles on the PHP Chinese website!

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