Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Question [Info] Designer doesn't start wth Java 8 (Java was started but returned exit code=13)

More
20 Apr 2015 10:41 #1 by cse
cse created the topic: [Info] Designer doesn't start wth Java 8 (Java was started but returned exit cod
Hi,

Stambia on Windows 7.

Eclipse RCP apps created with java 7 don't like java 8.
As I already had this problem with another product, here is the solution (if you don't want to be spoiled, don't read what follows :P ) :

Create a shortcut from eclipse.exe and change the path to add the -vm parameter to set a java 7 jdk: ex : E:\Dev\stambia\stambia.exe -vm C:\Java\jdk1.7.0_45\bin

So it works.

Christophe
More
20 Apr 2015 16:34 - 20 Apr 2015 16:36 #2 by Thomas BLETON
Thomas BLETON replied the topic: [Info] Designer doesn't start wth Java 8 (Java was started but returned exit cod
Hi,

Thanks for the tip - I'm afraid I read the spoiler ;)
An alternative is to add these two lines at the very beginning of the "stambia.ini" file (or stambia32.ini if the OS is a 32bits system) :
-vm
C:\Java\jdk1.7.0_45\bin
-vmargs
-Xss1024k
-Xms512m
[...]

Can you please tell us more about the issue you had with Java 8 ? Normally the Designer starts well with both Java 7 or 8.
By the way, make sure that you use the stambia32.exe if your java version is a 32bit version.
Last Edit: 20 Apr 2015 16:36 by Thomas BLETON.
More
20 Apr 2015 17:14 #3 by cse
cse replied the topic: [Info] Designer doesn't start wth Java 8 (Java was started but returned exit cod
OK,

My fault, the java version that was actually installed was a 32 bits, because the browser used to download it is 32 bits too.
I'm downloading the 64 bits version, it should be ok now.

thanks for the reply.

Christophe