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

Andrew Haley aph at redhat.com
Thu Jul 14 09:42:29 UTC 2005


Peter Backlund writes:

 > 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.  

Yes.

 > 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.

Yeah, we know.  It's something we need to investigate and fix.

 > 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?

As far as I'm aware it's all in the manual.

Andrew.




More information about the java-devel mailing list