18Oct/070
The Glassfish installer mysterious VM parameter
I had always wondered why on earth we had to add the -Xmx256m flag to the JVM to launch the Glassfish installer...

It's as simple as that: everything is packed inside one class file which contains the installer code as well as the data.
Is there any good reason for doing so? I would find it more intuitive to have at least the data separated from the installer classes, so that it could be launched graphically (Windows, Mac OS X) or even from a terminal... using only java -jar glassfish-installer-XXX.jar.
(Just for the sake of clarity, I don't care that Glassfish is not using IzPack
)
Related posts:
- IzPack Glassfish v2 ur2 b04 installer
- Glassfish installer: now with more Windows integration
- Preview of the next GlassFish installer
- IzPack-based installer for GlassFish v3 Prelude
- First stats for the IzPack-based GlassFish installer
