I used 7zip to unpack jre-6u12-windows-i586-p.exe (Oracle JRE Installer). When unpacking, I got core.zip, zipper.exe and several other files.
Again on the explosion of core.zip, I found a few things. core.zip contains all jar files in the same way as after installation, with the exception of 7 jar files.
charsets.jar deploy.jar javaws.jar jsse.jar localedata.jar plugin.jar rt.jar
Instead of these jar files there are corresponding packfiles
charsets.pack deploy.pack javaws.pack jsse.pack localedata.pack plugin.pack rt.pack
I think these are files created by pack200.exe, and unpack200.exe runs on them after installation to create the corresponding jar files.
So now I have a few questions
Why only these 7 files are launched through the pack200.exe file. I guess because they are larger than other files. But it does not take much effort to pack all the jar files and unzip them after installation.
The .pack extension assumes they are packaged but not gzipped. Again, why won't Oracle do gzip? for example, with packaging, rt.jar reduces the size from 45 MB to 12 MB, and adding gzip also reduces it to 6 MB.
user93353
source share