[Java-gnome-developer] continuously getting unsatisfiedlinkerror
Brought to you by:
afcowie
From: Rishabh M. <rma...@gm...> - 2004-11-29 22:17:12
|
Hey guys, I am trying to run my program but continuously get the following error: Exception in thread "main" java.lang.UnsatisfiedLinkError: no gladejava2.4 in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517) at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) at org.gnu.glade.LibGlade.<clinit>(LibGlade.java:217) at org.mdirconfig.MdirConfig.<init>(MdirConfig.java:50) at org.mdirconfig.MdirConfig.main(MdirConfig.java:129) I have followed all steps i could think of. My .so files were actually in /usr/lib so i moved them to /usr/lib/jni, added it to /etc/ld.so.conf and then did ldconfig. I then did: export LD_LIBRARY_PATH=/usr/lib/jni I also added the classpath into the jar manifest file(gtk2.4.jar, gnome2.8.jar,glade2.4.jar in /usr/share/java) but keep getting this error. Can someone give me a hint as to what I am doing wrong. Thanks Rishabh |