Java Question: libgtkpeer

Robert Morrison orbert at orbert.net
Fri Dec 29 22:11:55 UTC 2006


Hi:

While trying to run a java app (specifically, NeurosDBM[1]),
I get the following error:

me at myhost:~/ndbm$ gij -jar NeurosDBM.1.49.jar
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: 
gnu.java.awt.peer.gtk.GtkToolkit
   at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)
   at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(libgcj.so.70)
   at net.sourceforge.neurosdbm.NeurosDBM.main(NeurosDBM.java:401)
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.70)
(etc)

Based on the error message, I searched for 'gtkpeer' in 
Adept, found classpath-gtkpeer, and installed it. No change. 
Any suggestions appreciated.

(By the way: what's the kubuntu equivalent of 'rpm -qa'?)

TIA,
Robert


[1] http://sourceforge.net/projects/neurosdbm/




More information about the kubuntu-users mailing list