# Multiple Java Versions installed - Start Servoy with Java 7

**URL:** <https://forum.servoy.com/t/multiple-java-versions-installed-start-servoy-with-java-7/17692>\
**Category:** Classic Servoy\
**Created:** [December 17, 2013, 11:57am UTC](https://forum.servoy.com/t/multiple-java-versions-installed-start-servoy-with-java-7/17692 "2013-12-17T11:57:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LXS](https://avatars.discourse-cdn.com/v4/letter/l/ecb155/32.png) [@LXS](https://forum.servoy.com/u/LXS)\
**Post date:** [December 17, 2013, 11:57am UTC](https://forum.servoy.com/t/multiple-java-versions-installed-start-servoy-with-java-7/17692/1 "2013-12-17T11:57:59Z")

</div>

Hi,

i’m on Windows 8.1 and have multiple Java JREs/JDKs installed.  
One of them is Java 1.6.0\_43 and the latest Java 7 (1.7.0\_45).

I don’t want to uninstall the Java 6, because i need it.

How can i start Servoy 7.3 with Java 7, because i need this to use JavaFX bean.

I saw, that on Mac OS X there are some modificatons needed ([https://wiki.servoy.com/display/public/ … ifications](https://wiki.servoy.com/display/public/DOCS/Post-Installation+Modifications))  
So i added the 2 lines in my servoy.ini:

-vm  
C:\Program Files (x86)\Java\jre7\bin\java.exe

But with this setting Servoy/Eclipse does not start and shows an error screen (see screenshot).

Thanks a lot!  
Alex

 ![servoy7_error.PNG](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/f/fc1193efc27403d7ee7c04910f9f54d3eb0a862a.png)

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [December 17, 2013, 1:08pm UTC](https://forum.servoy.com/t/multiple-java-versions-installed-start-servoy-with-java-7/17692/2 "2013-12-17T13:08:00Z")

</div>

Hi,

my .ini file looks like this and works:

```auto
-clean
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
--launcher.XXMaxPermSize
256m
-vm
C:\Program Files\Java\jre7\bin\java.exe
-vmargs
-Dnativeswing.dependencies.checkVersions=false
-Dsun.awt.disableMixing=true
-Xms40m
-Xmx1024m
-XX:MaxPermSize=256M

```

---

<div class="post-metadata">

**Author:** ![LXS](https://avatars.discourse-cdn.com/v4/letter/l/ecb155/32.png) [@LXS](https://forum.servoy.com/u/LXS)\
**Post date:** [December 17, 2013, 1:46pm UTC](https://forum.servoy.com/t/multiple-java-versions-installed-start-servoy-with-java-7/17692/3 "2013-12-17T13:46:45Z")

</div>

thanks for your config Marc!

It seems that it’s not possible to use Java 1.7.0\_45 (32 bit) on a Windows 8.1 x64 machine.  
Now i’ve installed the 64 bit version of Java and it works! ![:)]( "Smile")

Thanks a lot!  
Alex
