I'm trying to run the JMeter test using the TFS build definition. I've created the required task to run the JMeter test (command-line task), but I'm getting the following error:
Not able to find Java executable or version. Please check your Java installation.
errorlevel=2
Press any key to continue . . .
I've checked the java version on the agent:
I've mentioned the following system variables:
JMETER_HOMEasC:\Performance Tests\apache-jmeter-3.2JRE_HOMEas"C:\Program Files\Java\jre1.8.0_231"- to the
Pathvariable was addedC:\Performance Tests\apache-jmeter-3.2\bin;C:\Program Files\Java\jre1.8.0_231\bin
When I try to run the JMeter on the agents I don't get any error:

Windows Server 2012 R2 64 bit is installed on the agent.
On another agent (which is the same and has similar configs) the test is running with no issues.
Could someone tell me what is the reason for the issue? Thank you in advance ????
