Java issues

./arduino
Exception in thread “main” java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.Toolkit$2.run(Toolkit.java:836)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:828)
at processing.core.PApplet.(PApplet.java:225)
at processing.app.Preferences.load(Preferences.java:687)
at processing.app.Preferences.load(Preferences.java:677)
at processing.app.Preferences.init(Preferences.java:158)
at processing.app.Base.main(Base.java:163)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at sun.awt.X11GraphicsEnvironment.getDefaultScreenDevice(X11GraphicsEnvironment.java:218)
at sun.awt.X11.XToolkit.(XToolkit.java:91)
… 10 more
Exit 1

CLASSPATH is set to ‘/usr/local/diablo-jdk1.6.0/bin/:/usr/local/diablo-jdk1.6.0/jre/lib/rt.jar’.

Any ideas?

Hi,
install the JavaRuntime package provided by Sun for your distribution. The packages are usually named something like sun-java.....

All alternative Runtimes like the diabolo are either missing some functions or cause other trouble.

Eberhard