Re: [Java-gnome-developer] Executing examples
Brought to you by:
afcowie
From: Mark H. <mh...@ti...> - 2004-10-11 18:42:06
|
On Mon, Oct 11, 2004 at 07:44:58PM +0200, Hurlin Cl?ment wrote: > java -Djava.library.path=/usr/lib/jni/ First > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/gnu/gnome/Program > at First.main(First.java:10) This is caused by not having the gnome jar in your classpath. You need both the classpath set correctly so java finds the java libraries and the LD_LIBRARY_PATH (-D) setting so that they can find the native part of the libraries. -- .''`. Mark Howard : :' : `. `' http://www.tildemh.com `- mh...@de... | mh...@ti... |