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

Peter Backlund peter.backlund at home.se
Thu Jul 14 09:00:28 UTC 2005


Hello.

I have a couple of questions about class loading in natively compiled
Java applications: should an application that has been natively compiled
(i.e. all .jars compiled into .so by gcj and a .db created, according to
http://gcc.gnu.org/wiki/How%20to%20BC%20compile%20with%20GCJ) load both
the .jars and the .so into memory? lsof seems to think that is the
case.  


Also, Eclipse in Rawhide consumes almost twice as much memory for
starting up and opening HelloWorld.java as the Sun JVM 1.5.0_03/upstream
Eclipse combination.

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?

/Peter Backlund




More information about the java-devel mailing list