当前位置:网站首页>JMeter installation

JMeter installation

2022-07-07 10:21:00 Splendid Qianyang 813

Catalog

 

1.jdk install (jmeter The environment needed to run )

1.jdk Download address

Installed jre:

Installed java:

2. Configure environment variables

newly build JAVA_HOME Variable

Verify that the installation was successful

2.jmeter install


1.jdk install (jmeter The environment needed to run )

jmeter Running requires java Environmental Science , If nothing happens, install it first jdk, start-up jmeter There will be “Not able to find Java executable or version. Please check your Java installation.” Error of .

1.jdk Download address

Download the corresponding according to the computer operating system jdk Installation package

After downloading, double-click the installation package to install , Instructions in advance ,jdk The installation process will provide two installations , The first time was to install jre, The second time is to install java.

I don't like the default installation in C disc , So I am D The disk was created in advance 2 A folder ,jre Folder for jre install ,jdk Folder for installation java; As for where to install, it just depends on your preferences . It is recommended to customize the installation , The installation path will be used later .

  • Installed jre:

  • Installed java:

2. Configure environment variables

  • newly build JAVA_HOME Variable

newly build , Copy and paste the variable name directly JAVA_HOME, Variable value input java The installation path ( I mentioned the installation twice , Install first jre, After the installation java), Because I installed D disc jdk below , Here, just copy the path and paste it .

find Path Variable , Click edit , Add... At the end of the variable value %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;( Notice the semicolon at the end )

The variable values in this are separated by semicolons , When adding, check whether there is a semicolon at the end of the variable value in front of you , If not added , Remember to add a semicolon at the beginning . In the figure above, I have a semicolon .

So over here jdk Even if all the installation and configuration are completed .

  • Verify that the installation was successful

stay cdm Input in  java -version, enter , You can see a hint java Version number , The installation is OK .

2.jmeter install

that jmeter The runtime environment is installed , Can be installed jmeter 了 . There is no need to find the Chinese version ,jmeter Bring your own Chinese ,jmeter Download address

Here I download zip, You can use it by decompressing it directly , It's more convenient . I am here D A new jmeter Folder , Used for decompressing this compressed package . The decompression is complete :

Click on bin File into folder , Let's double-click jmeter.bat function

You can see that a cmd And what we want jmeter 了 .

If you just start one cmd, It didn't start jmeter, And prompt Not able to find Java executable or version. Please check your Java installation Error of , Then please check whether it is installed java Environmental Science , That's the top one jdk install , And check the configuration of environment variables .

  Come here jmeter And jdk The installation is complete .

 

原网站

版权声明
本文为[Splendid Qianyang 813]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130623332490.html