Servoy will not start

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

Servoy will not start

Postby alk » Tue Jun 23, 2015 10:35 pm

Good evening,

by upgrading to Java 8 Update 45 (64bit) something might gone wrong - I can not start Servoy anymore.

See the message resp. the added screenshot.
I deinstalled Java and installed it again - did not help.
Another Java based program (JAlbum) works fine

Any idea?

Thanks and greetings from Berlin

Ralf
Attachments
Servoy.JPG
Servoy.JPG (63.36 KiB) Viewed 1589 times
alk
 
Posts: 23
Joined: Wed May 21, 2014 8:34 pm
Location: Berlin

Re: Servoy will not start

Postby mboegem » Tue Jun 23, 2015 10:56 pm

Hi Ralf

Try re-installing Servoy.
_____________________
Marc Boegem
Solutiative / JBS Group, Partner
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance SAN Developer

Image
User avatar
mboegem
 
Posts: 1382
Joined: Sun Oct 14, 2007 1:34 pm
Location: Hoofddorp, The Netherlands

Re: Servoy will not start

Postby ROCLASI » Tue Jun 23, 2015 11:06 pm

Hi Ralf,

mboegem wrote:Try re-installing Servoy.


You can do that, Servoy Eclipse installer will install specific things based on the Java version at the moment of installation.
Since your -VM parameter in the eclipse.ini (see your screenshot) points to the general javapath which now (sym)links to Java8 things will break.

So you can reinstall Servoy Developer to make it use Java 8 or you can change the eclipse.ini and change the -VM parameter to C:\Program Files\Java\jdk1.7.0\bin\javaw.exe (or whatever your actual path to java 7 is) so it keeps using Java 7.


Hope this helps.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5205
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Servoy will not start

Postby alk » Wed Jun 24, 2015 9:48 pm

Hi Robert,
thanks for the tipp.

Sorry, but I can't find eclipse.ini on my system...
In which directory? Another name??

Thanks
Ralf
alk
 
Posts: 23
Joined: Wed May 21, 2014 8:34 pm
Location: Berlin

Re: Servoy will not start

Postby ptalbot » Wed Jun 24, 2015 10:03 pm

Robert meant servoy.ini which is in ServoyInstall/developer.
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
http://www.servoy-stuff.net
https://www.servoyforge.net
--------------------------------------------
Servoy 5.2.16 / 6.0.9 / 6.1.6 / 7.3.1
All OSes / Java 5 & 6 & 7
User avatar
ptalbot
 
Posts: 1612
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Servoy will not start

Postby ptalbot » Wed Jun 24, 2015 10:17 pm

Probably the easiest on Windows though would be to set up an environment variable JAVA_HOME to point to the JDK/JRE install you want to use.
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
http://www.servoy-stuff.net
https://www.servoyforge.net
--------------------------------------------
Servoy 5.2.16 / 6.0.9 / 6.1.6 / 7.3.1
All OSes / Java 5 & 6 & 7
User avatar
ptalbot
 
Posts: 1612
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Servoy will not start

Postby prasadbabu.mfs » Thu Jun 25, 2015 6:29 am

Thanks Robert,

I too got the same error after upgrading to java 8 and with reference to your post i.e changing VM variable path to java 7 in servoy.ini file worked perfect, without reinstalling servoy.

Cheers.. :)
Prasad Babu
Servoy Developer
http://www.mindfiresolutions.com
prasadbabu.mfs
 
Posts: 10
Joined: Mon Feb 13, 2012 4:53 pm

Re: Servoy will not start

Postby ROCLASI » Thu Jun 25, 2015 12:58 pm

ptalbot wrote:Robert meant servoy.ini which is in ServoyInstall/developer.


Thanks Patrick!
Correct, I meant servoy.ini. Servoy rebranded that file :)
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5205
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Servoy will not start

Postby ROCLASI » Thu Jun 25, 2015 1:05 pm

Hi Patrick,

ptalbot wrote:Probably the easiest on Windows though would be to set up an environment variable JAVA_HOME to point to the JDK/JRE install you want to use.

Wouldn't that then be for all Java apps ? What if you want to use Java8 for one service/app and Java7 for another?
Or can you set it the moment you launch the app (how?) ?

For reference in this thread:
http://www.wikihow.com/Set-Java-Home
http://docs.oracle.com/cd/E19182-01/820 ... index.html
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5205
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Servoy will not start

Postby ptalbot » Thu Jun 25, 2015 3:26 pm

True, if you set JAVA_HOME it will be used for all, so the -vm argument is good if you don't want that.

You can change it before you start an app, but you do that from the System Properties panel/Advanced tab/Environment Variables...

I do have a setup where I have various JDK/JRE and have created environment variables for all, like JDK7_32, JDK7_64, etc. each pointing to a different installation and I sometimes switch by setting JAVA_HOME to %JDK7_64% for example.
Patrick Talbot
Freelance - Open Source - Servoy Valued Professional
http://www.servoy-stuff.net
https://www.servoyforge.net
--------------------------------------------
Servoy 5.2.16 / 6.0.9 / 6.1.6 / 7.3.1
All OSes / Java 5 & 6 & 7
User avatar
ptalbot
 
Posts: 1612
Joined: Wed Mar 11, 2009 5:13 am
Location: Montreal, QC

Re: Servoy will not start

Postby jcompagner » Thu Oct 29, 2015 2:28 pm

The initial problem is this

You had a 32bit java installed and installed servoy with that 32 bit java,
then when upgrading you installed a 64 bit java, but an servoy/eclipse installation is made for 32 or 64 bit, you can't start a 32 bit installation with a 64 bit java (or the other way around)

You can see that in your picture because i see there an equinox.launcher which is win32_x86 (thats 32 bit) and not win32_x86_64 (which would be 64 bit)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 7974
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests