Home > java > JVM as a cramfs filesystem

JVM as a cramfs filesystem

February 4th, 2004 kikkoman

Turns out that the jars that make up the Linux 1.4.2 JRE aren’t compressed very much.

Eg, if you unjar and rejar rt.jar, it will be significantly smaller: 23 –> 12 megs. Uncompressed rt.jar weighs in at 49 megs.

Useful if you are trying to get the jvm in a cramfs filesystem, where the max input filesize is 16 meg.

Also, you can save 7.5 uncompressed megs by dropping the server vm from the lib/i386 directory.

Categories: java Tags:
Comments are closed.