2

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");
Yuri
  • 4,254
  • 1
  • 29
  • 46
user1726460
  • 107
  • 3
  • 10

1 Answers1

1

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

Dmitri T
  • 159,985
  • 5
  • 83
  • 133