Jmeter启动报错:Not able to find Java executable or version. Please check your Java installation

安装的Jmeter后,点击jmeter.bat弹框报错提示:

Not able to find Java executable or version. Please check your Java installation
.
errorlevel=2
请按任意键继续. . .

解决方法

jmeter.bat文件前面加上以上两句:

SET JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51 (jdk路径)
SET PATH=%SystemRoot%/system32;%SystemRoot%;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin

解决过程

打开apache-jmeter-3.0的jmeter.bat时,报错如下:
Jmeter启动报错:Not able to find Java executable or version. Please check your Java installation_第1张图片
配置如下:
Jmeter启动报错:Not able to find Java executable or version. Please check your Java installation_第2张图片

你可能感兴趣的:(测试,jmeter,jdk)