Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Java error when starting Alice in Ubuntu 8.04
Old
evan.riley
Guest
 
Status:
Posts: n/a
Default Java error when starting Alice in Ubuntu 8.04 - 10-06-2008, 07:41 AM

when i try to start alice (./run-alice)

I get the error

Code:
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.configInit(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?
   
Reply With Quote
Old
evan.riley
Guest
 
Status:
Posts: n/a
Default 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.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2018, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.