Page 1 of 1

newlisp-edit fails with javascript errors

Posted: Sat Apr 04, 2009 3:42 pm
by Tim Johnson
I just installed ver 10.02 on kubuntu 7.10.
newlisp-edit fails to load with the following errors:

Code: Select all

tim@bart:~/prj/cgi/newlisp$ newlisp-edit
newLISP-GS v.1.27 on Linux
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
   at java.awt.Toolkit.getDefaultToolkit(libgcj.so.81)
   at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(libgcj.so.81)
   at guiserver.<init>(guiserver.java:206)
   at guiserver.main(guiserver.java:78)
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)
   ...3 more
I've got java version 1.5.0 installed and symlinked to /usr/bin
Don't know much about java but that UnsatisfiedLinkError must mean
something profound ......
any help is appreciated.
thanks
tim

Posted: Sat Apr 04, 2009 4:02 pm
by Lutz
The Java which comes with Ubuntu will not work. You have to install a Java JRE run time environment for Linux from sun.com.

Posted: Sat Apr 04, 2009 6:13 pm
by Tim Johnson
Lutz wrote:The Java which comes with Ubuntu will not work. You have to install a Java JRE run time environment for Linux from sun.com.
:-(
I'm strongly considering dumping this OS and going back to slack....
Before I re-install java, I'm going to have to check and see if that won't
clobber something else that I need on this machine....

Thanks Lutz. I really appreciate both of the quick replies.
tim