When installing GlassFish from a jar file, it would be good to check the java
version at the build stage.
- java -Xmx256m -jar glassfish-installer-ml.jar
- cd glassfish
- chmod -R +x lib/ant/bin
- lib/ant/bin/ant -f setup.xml
=> need to check here is the java the user is using meets GlassFish requirements.
Java 1.6 is needed from GlassFish3, and if Java 1.5 is used, it throws some