ajdk
Before installing jmeter, you need to install the java environment jdk first
1:jdk download address
https://www.oracle.com/java/technologies/downloads/#jdk18-windows
2: jdk installation
(1) Create a new folder for installing jdk. It is best for the name of the new folder to be in English; otherwise the installation may fail during the installation process (2) Follow the installation wizard step by step
.
3: jdk environment variable configuration
(1) Right click on this computer - [Properties] - [Advanced System Settings] - [Environment Variables]
(2) Create a new system variable JAVA_HOME Variable
name: JAVA_HOME
variable value: jdk installation path. For example: D:\Tools\JDK
(3) Create a new system variable CLASSPATH
variable name: CLASSPATH
variable value:
.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar;
(4) Edit the variable name Path and
add an environment variable
%JAVA_HOME%\bin
%JAVA_HOME%\jre\bin
(5) Check whether the configuration is successful.
Open the command prompt and enter java -version.
If the following content is displayed, the configuration is successful.
Two J
1:JMeter download address
https://jmeter.apache.org/download_jmeter.cgi
2: JMeter decompression
Unzip the downloaded zip
3: JMeter environment variable configuration
(1) Right click on this computer - [Properties] - [Advanced system settings] - [Environment variables]
(2) Create a new system variable JMETER_HOME
variable name: JMETER_HOME
variable value: The installation path of jmeter. For example: D:\Downloaded Software\Jmeter\apache-jmeter-5.5
(3) Edit the system variable CLASSPATH
variable name: CLASSPATH
append variable value:
%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;
Variable value after appending:
.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar;%JMETER_HOME%\lib\ext\ApacheJMeter_core.jar;%JMETER_HOME%\lib\jorphan.jar;
(4) Edit the variable name Path and
add an environment variable:
%JMETER_HOME%\bin
4: Run JMeter
and double-click jmeter.bat in the bin file of the installation path.
If the following content is displayed, the configuration is successful.
5: How to set JMeter to Chinese