I am not able to run JMeter through Java exec command in console mode whereas it is working fine on Version 3.1
.
Refer below command i am using.
Process pro = null;
pro = Runtime.getRuntime().exec("jmeter.bat -n -t test.jmx");
I am not able to run JMeter through Java exec command in console mode whereas it is working fine on Version 3.1
.
Refer below command i am using.
Process pro = null;
pro = Runtime.getRuntime().exec("jmeter.bat -n -t test.jmx");
Your question doesn't have enough information therefore we will not be able to answer.
Blind shot: your Java Runtime version is too low to run JMeter 5.0. Starting from JMeter 3.2 it is required to have Java 8 or higher in order to be able to run JMeter so if you're sitting on previous Java version - you will have to upgrade your Java installation.
You can check your current Java version by running java -version
command in terminal