Re: [Java-gnome-developer] Executing examples
Brought to you by:
afcowie
From: Hurlin <sm...@in...> - 2004-10-11 17:43:11
|
On Monday 11 October 2004 14:16, you wrote: Thank you for your help, The executions crashs immediately with this output : java -Djava.library.path=3D/usr/lib/jni/ First Exception in thread "main" java.lang.NoClassDefFoundError:=20 org/gnu/gnome/Program at First.main(First.java:10) Link to the library doesn't work :-( > Hi, > > Quoting Hurlin Cl=E9ment <sm...@in...>: > > First ,that was hard to compile but it finally works with : > > javac > >-classpath > >/usr/share/java/gtk2.4-2.4.0.jar:/usr/share/java/gnome2.6-2.6.0.jar > >First.java > > That's the correct way to compile. I'll try to get the docs updated about > this soon. > > > Then i try to execute with : > > java -Djava.library.path=3D/usr/lib/jni/ First > > This should work > > > None of these two worked :( , what's wrong ? > > In what way doesn't it work? Could you possibly send any error messages y= ou > get. > > -- > Mark Howard |