fix the gtk2.6.jar path inside your MANIFEST or just put your jar into the =
classpath and execute your main class using the classpath:
java -cp myjar.jar:${CLASSPATH} Main
On Sat, 25 Jun 2005 13:57:10 -0300
marcio ribeiro <mar...@gm...> wrote:
> Hello personal...
> everything well...=20
>=20
> I am creating a file *. jar of an application that makes use of the
> java-gnome, but when I will execute the application it returns me the
> following error.
>=20
> java.lang.NoClassDefFoundError: org/gnu/gtk/Gtk.
>=20
> Now the same application being executed in the console works correctly.
>=20
> java - My jar application. jar
>=20
> I am using my WinXP CLASSPATH is like this:
>=20
> .;%CLASSPATH%;C:\java-gnome\share\java\gtk2.6.jar;C:\java-gnome\share\jav=
a\glade2.10.jar
>=20
> Thank .
>=20
> --MarcioRibeiro--
>=20
>=20
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id=16492&op=3Dclick
> _______________________________________________
> java-gnome-developer mailing list
> jav...@li...
> https://lists.sourceforge.net/lists/listinfo/java-gnome-developer
|