Ubuntu update kills Arduino program

I just did an update, unfortunately I don't see what got updated but I can only assume java did, and now when I try to launch the program I get this:

Experimental:  JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7

and then it hangs until I close the window.

Any ideas?

Hi,
very annoying feature of Ubuntu always going back to some non-working Java-Runtime, but this should allow you to switch back to sun-java-6

Choosing the default Java to use

Just installing new Java flavours does not change the default Java pointed to by /usr/bin/java. You must explicitly set this:

  • Open a Terminal window

Run sudo update-java-alternatives -l to see the current configuration and possibilities.
*

Run sudo update-java-alternatives -s XXXX to set the XXX java version as default. For Sun Java 6 this would be sudo update-java-alternatives -s java-6-sun
*

Run java -version to ensure that the correct version is being called.

You can also use the following command to interactively make the change;

  • Open a Terminal window

Run sudo update-alternatives --config java

  • Follow the onscreen prompt

from Java - Community Help Wiki

Eberhard

hmmm I changed it from java-6-openjdk to java-6-sun and vice versa and it still hangs.
Doesn't give me an error or anything.

Which version of ubuntu have you updated to?
Are you running the 64 or 32 bit version?

I'm running the latest version Jaunty 32bit Netbook remix vesion. There seems to be some other weirdness with my java, I'm going to see if I can't reinstall it or something.

Also I didn't upgrade to a new version of ubuntu, I just let the update manager do it's thing and bam I couldn't use Arduino again.