Re: [Java-gnome-developer] Creating .jar file
Brought to you by:
afcowie
From: Jerry H. <wa...@la...> - 2005-04-02 01:09:50
|
Not exactly following. You want to turn the .Jar into a native binary? Check out GCJ. On Mon, 2005-02-21 at 01:04 +0100, Khiraly wrote: > 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! > -- Jerry Haltom <wa...@la...> |