Re: [Java-gnome-developer] errors
Brought to you by:
afcowie
From: Damien C. <da...@co...> - 2003-12-14 13:38:05
|
Mark Howard wrote: >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) > > > Ahh, excelent, its working. Is there some to overcome the need to set this manually? Can this be done when Java-Gnome is install? Regards -- Damien Covey |