newlisp-edit fails with javascript errors

Q&A's, tips, howto's
Locked
Tim Johnson
Posts: 253
Joined: Thu Oct 07, 2004 7:21 pm
Location: Palmer Alaska USA

newlisp-edit fails with javascript errors

Post 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

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post 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.

Tim Johnson
Posts: 253
Joined: Thu Oct 07, 2004 7:21 pm
Location: Palmer Alaska USA

Post 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

Locked