Re: [Java-gnome-developer] Problems with unsatisfiedLink error on fedora core-4
Brought to you by:
afcowie
From: pulihora j. <pul...@gm...> - 2005-06-28 00:57:28
|
thanks Ismael, it works. I tried doing some development in c/c++, after working in java for some tim= e=20 they look barbaric. Now i can do gnome development in my language java, I know it will be fun. On 6/27/05, Ismael Juma <ml...@ju...> wrote: >=20 > Hi, >=20 > 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 <http://gtkjni2.6.so> is not in the path. > > I searched my hard drive to find out location of gtkjni2.6.so<http://gt= kjni2.6.so>,=20 > it is > > not there and instead I found libgtkjni2.6.so <http://libgtkjni2.6.so>.= =20 > I copied > > libgtkjni2.6.so <http://libgtkjni2.6.so> to gtkjni2.6.so<http://gtkjni2= .6.so>.=20 > I added these libraries to my $PATH > > and jvm arg -Djava.library.path, even then I am getting this error. > [...] >=20 > All you have to do is add the directory where libgtkjni-2.6.so<http://lib= gtkjni-2.6.so>is > located to your java.library.path. So in FC4, you would do: >=20 > java -Djava.library.path=3D/usr/lib/ <...> >=20 >=20 > Regards, > Ismael >=20 > P.S. You have to reinstall the java-gnome rpms if you want it to work > though. >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net <http://SF.Net> email is sponsored by: Discover Easy Linux=20 > Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic= k > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > |