# Installation on Windows 7

**URL:** <https://community.gatling.io/t/installation-on-windows-7/265>\
**Category:** Gatling (Open-Source)\
**Created:** [February 11, 2013, 3:31pm UTC](https://community.gatling.io/t/installation-on-windows-7/265 "2013-02-11T15:31:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Glenn\_Caccia](https://avatars.discourse-cdn.com/v4/letter/g/f07891/32.png) [@Glenn\_Caccia](https://community.gatling.io/u/Glenn_Caccia)\
**Post date:** [February 11, 2013, 3:31pm UTC](https://community.gatling.io/t/installation-on-windows-7/265/1 "2013-02-11T15:31:02Z")

</div>

I’ve downloaded the 1.4.2 bundle and unzipped it into its own folder on my C drive. My computer already had Java 7 so I download and installed Java 6. However, when I try to run the batch file for Gatling, I get an error: missing ‘server’ JVM at … jre7\bin\server\jvm.dll. I’ve updated my path environment variable to start with the Java 6 location, so I’m not sure how it’s grabbing the Java 7 location. So two questions: how do I configure Gatling to use Java 6? What environment variables do I need to set and what do I need to set them to?

Thanks,

Glenn

---

<div class="post-metadata">

**Author:** ![Excilys](https://avatars.discourse-cdn.com/v4/letter/e/8797f3/32.png) [@Excilys](https://community.gatling.io/u/Excilys)\
**Post date:** [February 11, 2013, 4:24pm UTC](https://community.gatling.io/t/installation-on-windows-7/265/2 "2013-02-11T16:24:17Z")

</div>

That’s not a problem of JDK version. I think you’re running on a 32-bit Windows where the -server option is not supported.

Just remove -server from the batch files.

Cheers,

Stéphane

---

<div class="post-metadata">

**Author:** ![Glenn\_Caccia](https://avatars.discourse-cdn.com/v4/letter/g/f07891/32.png) [@Glenn\_Caccia](https://community.gatling.io/u/Glenn_Caccia)\
**Post date:** [February 11, 2013, 9:37pm UTC](https://community.gatling.io/t/installation-on-windows-7/265/3 "2013-02-11T21:37:26Z")

</div>

So I removed that setting and now I get another error about: Unrecognized VM option ‘OptimizeStringConcat’. Should I also just remove this option from the batch file or is it important?

---

<div class="post-metadata">

**Author:** ![Nicolas\_R](https://avatars.discourse-cdn.com/v4/letter/n/f14d63/32.png) [@Nicolas\_R](https://community.gatling.io/u/Nicolas_R)\
**Post date:** [February 11, 2013, 9:46pm UTC](https://community.gatling.io/t/installation-on-windows-7/265/4 "2013-02-11T21:46:10Z")

</div>

Yes, sorry, that’s a 64bits optimization.

---

<div class="post-metadata">

**Author:** ![rishi\_Sharma](https://avatars.discourse-cdn.com/v4/letter/r/7ab992/32.png) [@rishi\_Sharma](https://community.gatling.io/u/rishi_Sharma)\
**Post date:** [October 15, 2013, 9:10am UTC](https://community.gatling.io/t/installation-on-windows-7/265/5 "2013-10-15T09:10:19Z")

</div>

In JDK’s bin you will find an JRE folder and in JRE folder there is server folder , copy that server folder to your JVM’s JRE folder which is placed outside from JDK folder inside java. It works for me
