Welcome to the Debatetop!
Post opinions
Location:Debatetop > Science > Computer

How to configure environment variables

TOP 1

Right-click on My Computer-Properties-Advanced System Settings

1.jpg

In the pop-up window, click the "Environment Variables" button in the lower right corner

1-3.jpeg

Next, you can configure specific environment variables in user environment variables or system environment variables, click Edit to add new environment variables, and pay attention to separating them with semicolons.

3.jpg

Java environment variable configuration:

a. Add the path of the bin folder under the JDK installation path after path, for example: ";D:\JDK\bin"

4.jpg

b. Create a new javahome environment variable, the value is the installation path of the JDK, for example: "D:\JDK"

5.jpg

c. Create a new classpath environment variable. There are two values of this variable as "D:\JDK\lib\tools.jar;D\JDK\lib\td.jar"

6.jpg

Precautions

Note that you need to enter a semicolon in the English state


0 replies Participate

To reply to an article, please log in or register first