jmeter specify jdk version of the boot (how to make a single computer using different software versions of jdk)

Because there are other requirements jdk1.5 version of the software, but to use more than jmeter3 version, jdk version required a relatively high on the computer.

 

1, download more than jdk1.7 version.
2,
jmeter4 to jdk1.8 or later


Enter jmeter bin directory selection jmeter.bat, editor and add the following information at the top: (jdk version is the version number to modify their own use of)

set MINIMAL_VERSION=1.8.0_181
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_181
set PATH=%JAVA_HOME%\bin;%PATH%


Line 1, that is, you want to start the smallest version jdk version;

Line 2, which corresponds to the version you download the JDK environment variable;

Line 3, which runs jmeter.bat of the jdk path.


Save jmeter.bat, jmeter start again.
---------------------
Original link: https: //blog.csdn.net/TESTER_SKY/article/details/85264160

Guess you like

Origin www.cnblogs.com/fanf/p/11358047.html