[Java-gnome-developer] Creating .jar file
Brought to you by:
afcowie
From: Khiraly <khi...@gm...> - 2005-02-21 00:04:16
|
Hi! I want to create a .jar file to be able execute the program on any unix-like system. I have downloaded the example helloWord source files from: http://java-gnome.sourceforge.net/wiki//Main/JavaGnomeHelloWorld/HelloWorldGTK.java I have compiled on my debian system: javac -classpath /usr/share/java/gtk2.4.jar HelloWorldGTK.java I can execute with the following command: java -Djava.library.path=/usr/lib/jni/ -classpath .:/usr/share/java/gtk2.4.jar HelloWorldGTK Now, I want to create a .jar file inside with the necessary libraries. How can I do this? Thanks in advance! -- Khiraly <khi...@gm...> |