newlisp-edit fails with javascript errors

Started by Tim Johnson, April 04, 2009, 08:42:36 AM

Previous topic - Next topic

Tim Johnson

I just installed ver 10.02 on kubuntu 7.10.

newlisp-edit fails to load with the following errors:

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
Programmer since 1987. Unix environment.

Lutz

#1
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

#2
Quote from: "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.

:-(

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
Programmer since 1987. Unix environment.