Arduino IDE freezes in Ubuntu 9.04

the Arduino IDE is now freezing for me after an update to Ubuntu 9.04. The display doesn't refresh and in the terminal I get the following message several times. I've tried IDE versions 013 and 015 with no luck.

check_group_uucp(): error testing lock file creation Error details:Permission deniedcheck_lock_status: No permission to create lock file.
please see: How can I use Lock Files with rxtx? in INSTALL

Can anyone help please?

Thanks

Are you using the 32 or 64 bit version of Ubuntu? Do you have the rxtx package installed? Arduino comes with a version that doesn't use lock files, but it's possible that the system one does (and the permissions on the lock directory are wrong).

thanks for the reply. I did a complete removal of librxtx and reinstall and that removed the errors, but the IDE is still frozen at startup. I'm using 32-bit

Which java are you using? It needs to be the one from sun.

sudo update-alternatives --config java

thanks! that fixed it. It seems updating to jaunty changed my default java :frowning: