Developer crashing when i use the editor.

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?

Hi rdunnion

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

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

sudo update-alternatives --config java

Best regards. Robeto.

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:

-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

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