# developer crashes in Linux

**URL:** <https://forum.servoy.com/t/developer-crashes-in-linux/12305>\
**Category:** Classic Servoy\
**Created:** [June 9, 2010, 7:24am UTC](https://forum.servoy.com/t/developer-crashes-in-linux/12305 "2010-06-09T07:24:56Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![sander](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sander](https://forum.servoy.com/u/sander)\
**Post date:** [June 9, 2010, 7:24am UTC](https://forum.servoy.com/t/developer-crashes-in-linux/12305/1 "2010-06-09T07:24:56Z")

</div>

I have Servoy (5.1) installed on a Linux computer (Ubuntu 10.4)  
Developer starts.  
opening a form in the form editor gives a problem when the form contains an element (e.g. a button)  
also placing an element on a empty form gives a problem.

problem is: Developer crashes or hangs.

found some stuff on internet about eclipse and xulrunner but that didn’t sove the problem.

Anyone?

Regards  
Sander

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [June 9, 2010, 7:39am UTC](https://forum.servoy.com/t/developer-crashes-in-linux/12305/2 "2010-06-09T07:39:57Z")

</div>

Sander,

Try running developer with java 1.5.

Rob

---

<div class="post-metadata">

**Author:** ![sander](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sander](https://forum.servoy.com/u/sander)\
**Post date:** [June 14, 2010, 7:22am UTC](https://forum.servoy.com/t/developer-crashes-in-linux/12305/3 "2010-06-14T07:22:36Z")

</div>

Thanx Rob,

didn’t work.

for now i will settle for a work around.  
XP in a virtual box.

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [June 14, 2010, 7:52am UTC](https://forum.servoy.com/t/developer-crashes-in-linux/12305/4 "2010-06-14T07:52:23Z")

</div>

This works for me:

```auto
cd /path/to/servoy/developer
PATH=/path/to/jdk1.5.0/bin:$PATH ./servoy

```

Rob

---

<div class="post-metadata">

**Author:** ![mmgomez](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@mmgomez](https://forum.servoy.com/u/mmgomez)\
**Post date:** [June 15, 2010, 8:09pm UTC](https://forum.servoy.com/t/developer-crashes-in-linux/12305/5 "2010-06-15T20:09:45Z")

</div>

I had the same problem (in Arch Linux latest).  
just uninstalled xulrunner (and dependencies, firefox and gnome-doc) and everything works.

Never had this problem with CentOS, i’m reading about keeping an alternate xulrunner (1.8 works AFAIK) just for servoy and the default one for firefox (I browse with midori or epiphany, but I like to have firefox at hand just in case…)

Will post the results ASAP.

Rob, I think making a symlink from /path/to/jdk to /path/to/servoy/developer/ **jre** will give you the same results, without modifying the PATH environment variable.

## Martin

If debugging is the process of removing bugs, then programming must be the process of putting them in. -Dijkstra.

---

<div class="post-metadata">

**Author:** ![sander](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@sander](https://forum.servoy.com/u/sander)\
**Post date:** [June 16, 2010, 12:37pm UTC](https://forum.servoy.com/t/developer-crashes-in-linux/12305/6 "2010-06-16T12:37:47Z")

</div>

many thanks Rob and Martin.

i’ve got it working now with the symbolic link (setting path also worked)

regards

Sander

---

<div class="post-metadata">

**Author:** ![Marco\_R](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Marco\_R](https://forum.servoy.com/u/Marco_R)\
**Post date:** [July 28, 2010, 10:20am UTC](https://forum.servoy.com/t/developer-crashes-in-linux/12305/7 "2010-07-28T10:20:38Z")

</div>

Hi at all,I have the same problem, both with servoy 5.1.4 and servoy 5.2.  
I 'm using Ubuntu 10.04 LTS and java 1.6 update 21.(I don’t understand if is mandatory use 1.5.0 because Martin’s message doesn’t mention it)  
I’m new in linux,but in some way I have tried your solution but without results:  
I have installed symlinks and tried to link the folder /home/jre1.6.0\_21 with /home/my-developer-path/jre (jre folder missing from servoy folder,I have created it for make this try) with this syntax:

```auto
symlinks '/home/marco/jre1.6.0_21' '/home/marco/servoy_5x/developer/jre'

```

Maybe I’m missing something?  
Thanks in advance

Marco

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [August 10, 2010, 6:59am UTC](https://forum.servoy.com/t/developer-crashes-in-linux/12305/8 "2010-08-10T06:59:40Z")

</div>

Marco,

The basic idea is that when the servoy binary looks for the java binary it will find the one you want.  
The PATH thing I showed does this.  
The symbolic link does something similar, but only when you have ‘.’ in your path.

You can test which one is executed by typing ‘java --version’ in the developer directory.

Rob

---

<div class="post-metadata">

**Author:** ![Marco\_R](https://avatars.discourse-cdn.com/v4/letter/m/a6a055/32.png) [@Marco\_R](https://forum.servoy.com/u/Marco_R)\
**Post date:** [September 15, 2010, 11:12am UTC](https://forum.servoy.com/t/developer-crashes-in-linux/12305/9 "2010-09-15T11:12:35Z")

</div>

ok! thanks Rob!

---

<div class="post-metadata">

**Author:** ![mmgomez](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@mmgomez](https://forum.servoy.com/u/mmgomez)\
**Post date:** [September 17, 2010, 4:26pm UTC](https://forum.servoy.com/t/developer-crashes-in-linux/12305/10 "2010-09-17T16:26:06Z")

</div>

Never had any luck running against java 1.6 (except in Windows)

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [September 26, 2011, 9:41am UTC](https://forum.servoy.com/t/developer-crashes-in-linux/12305/11 "2011-09-26T09:41:25Z")

</div>

We found out some more about the crash on some Linux distro’s.  
It seems that the GTKLookAndFeel does not work well with the SWT gui library.

In some distros however, this Look&Feel is configured by default in the swing.properties file in the /path/to/java/jre/lib directory.  
If this file contains the swing.defaultlaf property set to com.sun.java.swing.plaf.gtk.GTKLookAndFeel, try commenting this line out (probably need root access for that).

Note that this may also affect the look&feel of other java swing apps on the same machine.

In Servoy 6.0.2 this change is not needed, Servoy Developer will handle this case.

NB: this issue is only a problem with Developer, client has no problem with this L&F.

Rob
