gatling.bat does not run due to JVM not found

452 views
Skip to first unread message

dolly...@gmail.com

unread,
Oct 21, 2015, 8:00:30 PM10/21/15
to Gatling User Group
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

Stéphane LANDELLE

unread,
Oct 21, 2015, 11:21:00 PM10/21/15
to gat...@googlegroups.com
You're probably running a 32bit JVM. Either install a 64bit one, or trying removing the -server option from the script.

Stéphane Landelle
Lead developer


--
You received this message because you are subscribed to the Google Groups "Gatling User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gatling+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

dolly...@gmail.com

unread,
Oct 22, 2015, 11:36:44 AM10/22/15
to Gatling User Group
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.

John Arrowwood

unread,
Oct 22, 2015, 11:55:40 AM10/22/15
to Gatling User Group
Java has a configuration control panel.  Try looking there.

Stéphane LANDELLE

unread,
Oct 22, 2015, 3:32:02 PM10/22/15
to gat...@googlegroups.com
Or from your Path env var.

Stéphane Landelle
Lead developer


Reply all
Reply to author
Forward
0 new messages