I am unable to generate a folder/HTML report of jmeter in the command line.
I have previously upgraded to the latest java and somehow it did not work.
I have downloaded jdk8
but encountered this message below:
jmeter: line 128: [: : integer expression expected jmeter: line 199: /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home -v 1.8.331.09/bin/java: No such file or directory
Advertisement
Answer
You’re using wrong Java, you need to have JDK (or at least JRE) and you seem to be using Java browser plugin
Follow the instructions from Installation of the JDK on macOS article to get the required version of Java (not earlier than JDK 8) and make sure that it’s in your PATH before the one which is provided by the browser plugin.
Also you can consider using Homebrew for installing JMeter.
More information: Get Started With JMeter: Installation & Tests