I installed java from the offical java download page https://java.com/en/download/win10.jsp
It installed what appears to be a 32bit on my 64 bit system, which I can only guess is OK, as it did not present any other options.
I edited my system environtment variables, and added JAVA_HOME and added %JAVA_HOME%\bin to my "user variables" Path definition.
typing "set" in a cmd window produces:
JAVA_HOME=C:\Program Files (x86)\Java\jre1.8.0_151
:
Path=C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;.....C:\Program Files (x86)\Java\jre1.8.0_151\bin;
At the command prompt, "java -version"
produces:
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) Client VM (build 25.151-b12, mixed mode)
But when I try to launch jmeter.bat, I get:
jmeter wont run !Not able to find Java executable or version. Please check your Java installation"
Any ideas?
export JAVA_HOME=/Library/Java/JavaVirtualMachines/[JDK VERSION]/Contents/Home
Replace[JDK VERSION]
with your installed version of java. – Tello