JPz'log Coin Coin and Plop da Plop

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...

glassfish-installer-jarcontent

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 :-) )

Share this post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • DZone
  • Live
  • Netvibes
  • StumbleUpon
  • Technorati
  • FriendFeed
  • Wikio
  • Twitter
  • Identi.ca
  • Reddit
  • RSS
  • Slashdot

Related posts:

  1. IzPack Glassfish v2 ur2 b04 installer
  2. Glassfish installer: now with more Windows integration
  3. Preview of the next GlassFish installer
  4. IzPack-based installer for GlassFish v3 Prelude
  5. First stats for the IzPack-based GlassFish installer

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.

JPz'log is Digg proof thanks to caching by WP Super Cache