[fedora-java] Newbie java packaging questions

Thomas Fitzsimmons fitzsim at redhat.com
Thu Nov 29 06:35:33 UTC 2007


Sander Hoentjen wrote:
> Hi all,
> 
> I started my attempt at packaging josm. I have some question about it, I
> hope someone here can help me out.
> For compiling should I use ant or javac? Using ant gives me a .jar file,

Build however the upstream project builds.

> if I compile that to binary format with gcj, how can I start it?

For simplicity, build against IcedTea first.  Then if you're intent on 
native compilation, have a look here:

http://fedoraproject.org/wiki/NativeJava

> Is it preferred to have a jar file or to have the files separate?

A jar is preferred.

Tom




More information about the java-devel mailing list