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

Andrew Haley aph at redhat.com
Thu Jul 14 10:02:07 UTC 2005


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

Andrew.




More information about the java-devel mailing list