Re: [Java-gnome-developer] Problems with unsatisfiedLink error on fedora core-4
Brought to you by:
afcowie
From: Ismael J. <ml...@ju...> - 2005-06-27 07:13:57
|
Hi, On Sun, 2005-06-26 at 21:54 -0500, Pulihora Ramaraju wrote: > Hi gurus, > I have been trying to play with java-gnome on my new fedora core-4, it > distributes java-gnome rpms. > > When I run sample programs I am getting Unsatisfied link error saying > that gtkjni2.6.so is not in the path. > I searched my hard drive to find out location of gtkjni2.6.so, it is > not there and instead I found libgtkjni2.6.so. I copied > libgtkjni2.6.so to gtkjni2.6.so. I added these libraries to my $PATH > and jvm arg -Djava.library.path, even then I am getting this error. [...] All you have to do is add the directory where libgtkjni-2.6.so is located to your java.library.path. So in FC4, you would do: java -Djava.library.path=/usr/lib/ <...> Regards, Ismael P.S. You have to reinstall the java-gnome rpms if you want it to work though. |