[fedora-java] .jar and .so both loaded?

Gary Benson gbenson at redhat.com
Thu Jul 14 10:10:51 UTC 2005


Andrew Haley wrote:
> Gary Benson writes:
> > Peter Backlund wrote:
> > > Is it still possible to build a Java application into a standalone
> > > executable, that does not require gij to run? Is there any guilde
> > > on how to do that?
> > 
> > You can use something like:
> > 
> >   gcj --main=com.foo.bar.Main libbaz.jar.so -o moose
> 
> gcj --main=com.foo.bar.Main -lbaz.jar -o moose

Eclipse does what I said to make the ecj executable.  What's the
difference?

Cheers,
Gary




More information about the java-devel mailing list