# Developer crashing when i use the editor.

**URL:** <https://forum.servoy.com/t/developer-crashing-when-i-use-the-editor/12674>\
**Category:** Classic Servoy\
**Created:** [August 18, 2010, 4:34pm UTC](https://forum.servoy.com/t/developer-crashing-when-i-use-the-editor/12674 "2010-08-18T16:34:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rdunnion](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rdunnion](https://forum.servoy.com/u/rdunnion)\
**Post date:** [August 18, 2010, 4:34pm UTC](https://forum.servoy.com/t/developer-crashing-when-i-use-the-editor/12674/1 "2010-08-18T16:34:11Z")

</div>

I am trying to create my first form for a demo to sell Servoy to my team. I am running it on Ubuntu 10.04 and everything seems fine until I create the form choose my objects and the editor actually opens. The developer crashes each time. I read in another post that this likely has something to do with Java. I’m not sure how to get rid of my current version of Java without uninstalling a boatload of other packages that I need. I downloaded the sun jdk and installed the bin file. But when I run ‘java -version’ open-jdk still comes up. Am I going about this all wrong?

---

<div class="post-metadata">

**Author:** ![Roberto\_Blasco](https://avatars.discourse-cdn.com/v4/letter/r/5f8ce5/32.png) [@Roberto\_Blasco](https://forum.servoy.com/u/Roberto_Blasco)\
**Post date:** [August 18, 2010, 9:44pm UTC](https://forum.servoy.com/t/developer-crashing-when-i-use-the-editor/12674/2 "2010-08-18T21:44:20Z")

</div>

Hi **rdunnion**

Yo must use Java Sun JRE/JDK instead Java Open JDK for Servoy to work.

```auto
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk

```

Ensure Java Sun is propertly installed and _/usr/bin/java_ points the correct directory

```auto
sudo update-alternatives --config java

```

Best regards. Robeto.

---

<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:** [August 19, 2010, 1:11pm UTC](https://forum.servoy.com/t/developer-crashing-when-i-use-the-editor/12674/3 "2010-08-19T13:11:44Z")

</div>

most likely you have a problem with ubuntu xulrunner (the lib behind firefox)

search the web for “xulrunner-1.8.1.3.en-US.linux-i686-20080128.tar.gz”, explode it in some folder (i use /opt/servoy/xulrunner) and edit servoy/developer/servoy.ini to include a line like this:

```auto
-Dorg.eclipse.swt.browser.XULRunnerPath=/opt/servoy/xulrunner

```

also, you can download jre-1.5.21 from sun (now oracle) and create a symlink from the folder where you decompress it to /opt/servoy/developer/jre , thus giving Servoy it’s own java runtime environment without messing up with your distro default jre.

following this instructions, i was able to install and run (and also do serious work) in arch linux, ubuntu, fedora and centos.

regards,  
Martin

---

<div class="post-metadata">

**Author:** ![rdunnion](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rdunnion](https://forum.servoy.com/u/rdunnion)\
**Post date:** [August 21, 2010, 2:23am UTC](https://forum.servoy.com/t/developer-crashing-when-i-use-the-editor/12674/4 "2010-08-21T02:23:41Z")

</div>

@mmgomez - Using Java 1.5 did the trick, thats all I needed. It must have been the version of java that was the problem because I tried the same procedure with java 1.6. Thanks a lot. I have my first form created and I can’t believe how easy it is!
