Environment variable configuration of several most basic software

Configure the environment variable location in Windows:

Control Panel -> System and Security -> System. You can click: "This PC" -> "Properties" to enter directly.

 

Click "Advanced System Settings" -> [Environment Variables]. Here you can see user variables and system variables. If you are not using this machine alone, set it as a user variable, otherwise it is recommended that everyone set it as a system variable.

 

1,JAVA

It is strongly recommended that you create a HOME file before setting up a certain software. For JAVA, we first create JAVA_HOME. Click 【New (W)...】

 

Among them, C:\ProgramFiles\Java\jdk1.8.0_131 is the directory where JDK1.8 is installed on this machine.

Then find Path, click [Edit (I)...]

 

Click 【New (N)】

 

Insert the following record

%JAVA_HOME%\bin

 

Please use the relative path of %JAVA_HOME%\bin instead of the absolute path of C:\ProgramFiles\Java\jdk1.8.0_131\bin. Add the path to Path, and the executable files in this directory can be executed in any directory of the system.

Then find Path, click [Edit (I)...], and add it to the variable value

%JAVA_HOME%\lib\;

Please use the relative path of %JAVA_HOME%\bin instead of the absolute path of C:\ProgramFiles\Java\jdk1.8.0_131\bin.


2 , Python (check the path one-click installation configuration during installation, the following is manual)

Create %PYTHON_HOME%, the value is the directory where Python is installed

Add the following 2 directories to Path

  • %PYTHON_HOME%

  • %PYTHON_HOME%\Scripts


3 ,JMeter

Create %JMETER_HOME%, the value is the directory where JMETER is installed

Add the following directory to Path

  • %JMETER_HOME%\bin

In CLASPATH add

%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;JMETER_HOME%\lib\jorphan.jar%JMETER_HOME%\lib\logkit-2.0.jar


4,MYSQL

Create %MYSQL_HOME%, the value is the directory where MYSQL is installed

Add the following directory to Path

  • %MYSQL _HOME%\bin


5,ANT

Create %ANT_HOME%, the value is the directory where ANT is installed

Add the following directory to Path

l  %ANT_HOME%\bin\


6,MAVEN

Create % MAVEN_HOME%, the value is the directory where MAVEN is installed

Add the following directory to Path

  • % MAVEN _HOME%\bin\


7,Tomcat

Create %TOMCAT_HOME%, the value is the directory where TOMCAT is installed

In CLASPATH add:

%TOMECAT_HOME%\bin\bootstrap.jar;%TOMECAT_HOME%\bin\tomcat-juli.jar;%TOMCAT_HOME%\lib\servlet-api.jar;%TOMECAT_HOME%\bin\bootstrap.jar;


8,Android

Create % ANDROID_HOME%, the value is the directory where ANDROID-SDK is installed

Add the following directory to Path

  • % ANDROID _HOME%\bin\

  • % ANDROID _HOME%\platform-tools

  • % ANDROID _HOME%\tools


Keep tidying up. . .

Guess you like

Origin blog.csdn.net/github_35856054/article/details/117699703