Oct
18
2007
The Glassfish installer mysterious VM parameter
Posted by: Julien in English, Java, OpinionI 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
)
Entries (RSS)