Multiple Java Versions installed - Start Servoy with Java 7

Questions and answers for all installation-related topics for Servoy products

Multiple Java Versions installed - Start Servoy with Java 7

Postby LXS » Tue Dec 17, 2013 1:57 pm

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)
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
Attachments
servoy7_error.PNG
Error when starting Servoy 7.3.1rc
servoy7_error.PNG (27.03 KiB) Viewed 3076 times
Alexander Stefan
Dr. Maison & Partner GmbH
www.servoy-plugins.de
www.maison-partner.de
LXS
 
Posts: 151
Joined: Thu Mar 01, 2007 12:00 am

Re: Multiple Java Versions installed - Start Servoy with Jav

Postby mboegem » Tue Dec 17, 2013 3:08 pm

Hi,

my .ini file looks like this and works:
Code: Select all
-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
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1750
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Multiple Java Versions installed - Start Servoy with Jav

Postby LXS » Tue Dec 17, 2013 3:46 pm

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! :)

Thanks a lot!
Alex
Alexander Stefan
Dr. Maison & Partner GmbH
www.servoy-plugins.de
www.maison-partner.de
LXS
 
Posts: 151
Joined: Thu Mar 01, 2007 12:00 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests