Since I've updated Java to 1.6.0_37 on OSX 10.8, I'm getting this when running a sketch (in Processing 2.0b3):
Exception in thread "main" java.lang.ExceptionInInitializerError
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at sun.awt.HeadlessToolkit.getMenuShortcutKeyMask(HeadlessToolkit.java:237)
at processing.core.PApplet.<clinit>(PApplet.java:244)
Does anyone have an idea on how to get it back to work?