[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Library problem with gnome|gtk-java?



Ben Burton <bab@debian.org> wrote:
> 
> > I'll re-do some tests but I'm  sure it did not work neither with gij
> > nor kaffe!
> 
> Are you using gij-wrapper (and not just gij)?

Maybe I missed something:

arnaud@debian:~/docs/java/gnome$ gij-
gij-3.3 gij-wrapper-3.3
arnaud@debian:~/docs/java/gnome$ gij-wrapper-3.3 First
Exception in thread "main" java.lang.UnsatisfiedLinkError: GNOMEJava: file not found
   at java.lang.Runtime._load(java.lang.String, boolean) (/usr/lib/libgcj.so.4.0.0)
   at java.lang.Runtime.loadLibrary(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
   at java.lang.System.loadLibrary(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
   at org.gnu.gnome.Program.<clinit>() (Unknown Source) 
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.4.0.0) 
   at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.4.0.0)
   at First.main(java.lang.String[]) (Unknown Source)
arnaud@debian:~/docs/java/gnome$ gij-3.3 First
Exception in thread "main" java.lang.UnsatisfiedLinkError: GTKJava: file not found
   at java.lang.Runtime._load(java.lang.String, boolean) (/usr/lib/libgcj.so.4.0.0)
   at java.lang.Runtime.loadLibrary(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
   at java.lang.System.loadLibrary(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
   at org.gnu.glib.GObject.<clinit>() (Unknown Source)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.4.0.0)
   at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.4.0.0)
   at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.4.0.0)
   at First.main(java.lang.String[]) (Unknown Source)

-----------------

arnaud@debian:~/docs/java/gnome$ LD_LIBRARY_PATH=/usr/lib/jni gij-3.3 First

is OK :)

Best regards

-- Arnaud Vandyck, STE fi, ULg
   Formateur Cellule Programmation.

Attachment: pgpc28Yv9Izbf.pgp
Description: PGP signature


Reply to: