Cannot start jmeter on OS x (El Capitan)

I am working on a web project and I want to integrate JMeter to run some load tests. I follow this simple tutorial . I installed JMeter using brew. When I try to start JMeter, I get the following error: cannot find Java executable or version. Check your Java installation.

Earlier, I installed the latest version of java ( https://www.java.com/en/download/mac_download.jsp ) and I checked it at https://java.com/en/download/installed.jsp . I get this message "Congratulations! You have recommended Java (version 8 Update 91)." But I can not start JMeter. How to configure my Java or JMeter installation to run?

+5
source share
3 answers

Java validation in a jmeter script wrapper jmeter not correctly handle spaces in path names.

The path to the java binary in macOS /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java , with a space in the path.

Modify /usr/local/brew/Cellar/jmeter/3.0/libexec/bin/jmeter and comment out the version check box at the top as a workaround.

+1
source

In order to have JMeter installed on MacOS, you need to install the latest compatible Java SDK from the Oracle Java SE page .

Once on this main page, you go to the Java Platform Standard Edition page, and then download and install the .dmg file for Mac OS X.

+1
source

Depending on the version, JMeter is compatible with a specific version of Java.

Starting with version 3.3, it is only compatible with Java 8 (select the latest minor update)

On Mac OSX, you can take a look at this to make it easy:

Otherwise, running it on Mac OSX will be as simple as:

  • Download Version Compatible JDK (8 for 3.3)
  • Installation
  • Download jmeter and release notes for reading:

http://jmeter.apache.org/changes.html

  • Running /bin/jmeter.sh
0
source

All Articles