Re: [Java-gnome-developer] Executing examples
Brought to you by:
afcowie
From: Hurlin <sm...@in...> - 2004-10-12 17:28:33
|
On Tuesday 12 October 2004 10:16, you wrote: Yep, that was the problem. Adding . to classpath works, thanks. > Quoting Hurlin Cl=E9ment <sm...@in...>: > > I tried to set both classpath and location of native part of the > > libraries but > > it didn't work : > > > > smelc$ CLASSPATH=3D/usr/share/java/gtk2.4.jar:/usr/share/java/gnome2.6.= jar > > smelc$ javac First.java > > smelc$ LD_LIBRAY_PATH=3D/usr/lib/jni/ > > smelc$ java First > > Exception in thread "main" java.lang.NoClassDefFoundError: First > > smelc$ java -Djava.library.path=3D/usr/li/jni First > > Exception in thread "main" java.lang.NoClassDefFoundError: First > > Now you're missing the directory with the First.class file from the > classpath. Add :. to the classpath and it should work > -- > .""`. Mark Howard > > : :" : > > `. `" http://www.tildemh.com > `- mh...@de... | mh...@ti... |