Linux Ubuntu upgraded - program not working now [RESOLVED]

I've been through the arduino.cc guides but no luck. I have added all the necessary packages following the directions here: http://www.pluggy.me.uk/arduino-ubuntu/
When I click on the program and hit 'Run' nothing happens. If I click on 'Run in Terminal' the terminal will open for a split second and then close down. I've tried installing the program into my home folder and desktop, neither works. Under the 'open with' options I've tried gedit, wine windows program loader, and autorun prompt.
Let me know if you have any ideas.

open a terminal and run it from the command line, see if you get any errrors

Exception in thread "main" java.lang.ExceptionInInitializerError
at processing.app.Base.main(Base.java:113)
Caused by: java.awt.HeadlessException
at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:231)
at processing.core.PApplet.(Unknown Source)
... 1 more

Have you tried downloading IDE v1.0.1 from the Arduino website? Unpack it in a local directory and run the arduino shell script in that directory.

How does that do?

I'm using Ubuntu v11.10 and 12.04. Both working great!

Ok, got it. I didn't have the exact right java package downloaded, just something that looked like it.