[Java-gnome-developer] pb at execution
Brought to you by:
afcowie
From: Didier B. <di...@br...> - 2002-03-30 21:01:31
|
Hello, I have downloaded the last java-gnome sources. The compilation was good. I did it with java 1.4 from sun on linux redhat 7.2. When I try to execute the examples I got this error: [didier@mars test]$ java TestGTK Exception in thread "main" java.lang.UnsatisfiedLinkError: no GTKJava in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312) at java.lang.Runtime.loadLibrary0(Runtime.java:749) at java.lang.System.loadLibrary(System.java:820) at gnu.gdk.BaseObject.<clinit>(BaseObject.java:151) at gnu.gtk.Gtk.init(Gtk.java:91) at TestGTK.main(TestGTK.java:1713) [didier@mars test]$ echo $CLASSPATH /usr/local/java-gnome-0.7.1/share/java-gnome/gtk.jar:/usr/local/java-gnome-0.7.1/share/java-gnome/gnome.jar:. My classpath is set. The /etc/ld.so.conf have the path to my libraries: [didier@mars test]$ cat /etc/ld.so.conf /usr/lib /usr/kerberos/lib /usr/X11R6/lib /usr/lib/sane /usr/lib/qt-2.3.0/lib /usr/local/imwheel-1.0.0pre1/lib /usr/lib/wine /usr/local/java-gnome-0.7.1/lib And the ldconfig command has been executed :o) Do you see where the pb can be ? Thanks for your future help ! Regards. -- Didier BRETIN di...@br... http://www.bretin.net ICQ: 46032186 |