JDK + Jmeter installation and configuration environment variable

A, JDK installation and configuration environment variable

1, JDK download address: http: //www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

2, JDK installation

      Can be installed by default path

3, the configuration environment variable JDK

Location: Computer → Properties → Advanced System Settings → Advanced → Environment Variables

a, a new system variable →  JAVA_HOME  variable, the value of the variable fill jdk installation directory (for example: C: \ Program Files \ Java \ jdk1.8.0_172)

b, find the Path variable system variable → → Edit -> New Fill value% JAVA_HOME% \ bin;% JAVA_HOME% \ jre \ bin

c, the system → New CLASSPATH variable variable variable values ​​fill% JAVA_HOME% \ lib;% JAVA_HOME% \ lib \ tools.jar;% JAVA_HOME% \ lib \ dt.jar;

d, and environmental variables detected jdk configured correctly, and then enter the transport java -version under cmd, java version number if there is an information display, and environment variables jdk described configuration OK

Two, Jmeter installation and configuration environment variable

1, the official website address: http: //jmeter.apache.org/download_jmeter.cgi

      Need to select the corresponding file download .zip or .taz according to the downloaded to the local packet compression codecs

2, configure the environment variables Jmeter

Location: Computer → Properties → Advanced System Settings → Advanced → Environment Variables

a, a new system variable →  JMETER_HOME  variable, the value of the variable fill decompressed jmeter installation package directory (C: \ jmeter \ apache- jmeter-5.2.1)

b, find the Path variable system variable → → Edit -> New Fill value% JMETER_HOME% \ bin;

c, the system variable CLASSPATH variable to find → → editor, fill% JMETER_HOME% \ lib \ ext \ ApacheJMeter_core.jar rearmost;% JMETER_HOME% \ lib \ jorphan.jar;% JMETER_HOME% \ lib / logkit-2.0.jar;

d, and environmental variables detected jmeter is configured properly, the installer jmeter directory C: \ jmeter found jmeter.bat file \ \ at apache-jmeter-5.2.1 bin double click, pop black boxes do not close during operation jmeter , another UI interface is the interface we want to operate

 

Guess you like

Origin www.cnblogs.com/DennyZhao/p/12302900.html