Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

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
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
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
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