PDA

View Full Version : Java error when starting Alice in Ubuntu 8.04


evan.riley
10-06-2008, 07:41 AM
when i try to start alice (./run-alice)

I get the error



attempting to register mp3 capability...
Registered succesfully
java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.81)
at edu.cmu.cs.stage3.alice.authoringtool.JAlice.confi gInit(JAlice.java:258)
at edu.cmu.cs.stage3.alice.authoringtool.JAlice.main( JAlice.java:117)
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: cannot open shared object file: No such file or directory
at java.lang.Runtime._load(libgcj.so.81)
at java.lang.Runtime.loadLibrary(libgcj.so.81)
at java.lang.System.loadLibrary(libgcj.so.81)
at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.81)
at java.lang.Class.initializeClass(libgcj.so.81)
at java.lang.Class.forName(libgcj.so.81)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.81)
...2 more


Any idea whats wrong?

evan.riley
10-06-2008, 09:04 PM
Figured it out my self :)

had to update java to java6 and than update the alternatives and than change some ofhte Java Permissions.