Re: [Java-gnome-developer] errors
Brought to you by:
afcowie
From: Mark H. <mh...@ca...> - 2003-12-14 13:25:53
|
On Tue, Dec 16, 2003 at 07:22:51PM +1000, Damien Covey wrote: > >[damien@localhost GnomeApp]$ java -cp . First > >Exception in thread "main" java.lang.UnsatisfiedLinkError: no GTKJava > >in java.library.path > > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491) > > at java.lang.Runtime.loadLibrary0(Runtime.java:788) > > at java.lang.System.loadLibrary(System.java:834) > > at org.gnu.glib.GObject.<clinit>(GObject.java:154) > > at First.main(First.java:10) > >[damien@localhost GnomeApp]$ You need to tell java where the jni libraries are located. This is done by setting LD_LIBRARY_PATH export LD_LIBRARY_PATH=/usr/lib/java-gnome (or wherever you installed them) -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... | mh...@ca... |