reducing size of bundled jre
Kustaa Nyholm
Kustaa.Nyholm at planmeca.com
Mon Jan 7 04:40:25 PST 2013
On 7.1.2013 13.20, "Hendrik Schreiber" <hs at tagtraum.com> wrote:
>Hi,
>
>I just fiddled around for the first time with the appbundler ant task -
>and was shocked that the bundled (Oracle) JRE amounts to 140 MB. This is
>far bigger than a bundled Windows JRE. Is there any way to reduce this?
>
>And a second (fairly unrelated) question: Are there still any public
>builds of OpenJDK out there?
>
>Thanks,
>
>-hendrik
+140 MB is the uncompressed size.
If you look at these:
http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880
261.html
they are quite similar for similar packaging, compare the tar.gz sizes.
Which kind of makes sense as I guess lot of the JRE is Java byte code
so should be more or less same for all platforms.
I've not tried this myself as I've postponed bundling until
we get proper Retina support, but looking at above page I
see that for Mac .dmg is close .tar.gz in size so I would
expect that if you create a compressed .dmg from your
bundled app then the download size would be much smaller
than 140 MB and more importantly same as the other platforms.
Still, we could all do with a lot less!
br Kusti
More information about the macosx-port-dev
mailing list