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

Tom Tromey tromey at redhat.com
Thu Jul 14 17:30:50 UTC 2005


>>>>> "Peter" == Peter Backlund <peter.backlund at home.se> writes:

Peter> Is it still possible to build a Java application into a standalone
Peter> executable, that does not require gij to run? Is there any guilde on how
Peter> to do that?

Note that it can be tricky to do this for large applications, like
Eclipse.  You end up having to modify the application to understand
how to treat gcj specially.  This is what we did in the Eclipse 2.x
days, but in 3.x they changed their class loaders and we didn't want
to repeat the hacking... hence the current approach, which is
invisible to the application.

But, it certainly could be done.  I think OSGi (the class loading
infrastructure eclipse uses) leaves open the possibility of changes
like this -- you can write your own low-level bits or something.
(Obviously I'm not up on the details :-)

Tom




More information about the fedora-devel-java-list mailing list