gatling.bat does not run due to JVM not found

On running this bat file, I get following message:

Error: missing server' JVM at C:\Program Files (x86)\Java\jre1.8.0_60\bin\server\jvm.dll’.
Please install or use the JRE or JDK that contains these missing components.

The last part of first path does not even exist on my machine. I am not sure from where this path is getting constructed. Also, looked in conf directory but did not help.

Any clues, please let me know.
Thanks,
Dolly

You’re probably running a 32bit JVM. Either install a 64bit one, or trying removing the -server option from the script.

Thanks, Stephane that helped after I removed two options from the script.

However, I would like to know from where is the JVM path being picked up from, in this case, `C:\Program Files (x86)\Java\jre1.8.0_60\bin\server\jvm.dll’, because I don’t have this set as JAVA_HOME or any other similar variable.

Thanks much.

Java has a configuration control panel. Try looking there.

Or from your Path env var.