Hi Alfonso,
it seems to me, that you have forgotten to include your own classes in
the classpath as well.
--Sebastian
Alfonso schrieb:
> Hi, sorry if this is too obvious, I have not much experience with java
> and gnome...
>
> I have installed the eclipse plugin for java-gnome, updated the jar
> references (by default it was glib0.2, and gtk2.8), and the application
> example works fine under eclipse...
>
> Then *I try to run it so:*
> java -classpath
> /usr/share/java/gtk2.10.jar:/usr/share/java/glib0.4.jar:/usr/share/java/gnome2.12.jar:/usr/share/java/glade2.12.jar
> -Djava.library.path=/usr/share/java org.you.gnome.gladeapp.GladeAppMain
>
> Then I get following *output:*
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org.you.gnome.gladeapp.GladeAppMain
> at gnu.java.lang.MainThread.run(libgcj.so.70)
> Caused by: java.lang.ClassNotFoundException:
> org.you.gnome.gladeapp.GladeAppMain not found in
> gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/share/java/gtk2.10.jar,file:/usr/share/java/glib0.4.jar,file:/usr/share/java/gnome2.12.jar,file:/usr/share/java/glade2.12.jar],
> parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
> at java.net.URLClassLoader.findClass(libgcj.so.70)
> at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
> at java.lang.ClassLoader.loadClass(libgcj.so.70)
> at java.lang.ClassLoader.loadClass(libgcj.so.70)
> at gnu.java.lang.MainThread.run(libgcj.so.70)
>
>
> In advance, thank you very much for your answer...
>
>
>
> ______________________________________________
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> java-gnome-developer mailing list
> jav...@li...
> https://lists.sourceforge.net/lists/listinfo/java-gnome-developer
>
--
tarent Gesellschaft für Softwareentwicklung und IT-Beratung mbH
Heilsbachstr. 24, 53123 Bonn | Poststr. 4-5, 10178 Berlin
fon: +49(228) / 52675-0 | fon: +49(30) / 27594853
fax: +49(228) / 52675-25 | fax: +49(30) / 78709617
durchwahl: +49(228) / 52675-17 | mobil: +49(171) / 7673249
Geschäftsführer:
Boris Esser, Elmar Geese, Thomas Müller-Ackermann
HRB AG Bonn 5168
Ust-ID: DE122264941
|