semi-static linux binary

Jeff Sturm jsturm@one-point.com
Thu Oct 23 17:28:00 GMT 2003


On Thu, 23 Oct 2003, Bart Locanthi wrote:
> So how big does this make the binary?

The standalone demo I produced was 2.2MB gzip'ed.  Probably half of that
is application code, vs. libgcj library stuff.

> And will this work for the various Class.forName() usages we do in Java?

Yes, *if* the classes are linked into the executable, or available
somewhere in bytecode.  You do have to take extra care with static
linking.

Jeff



More information about the Java mailing list