To install and configure glassfish, you need to install
JDK 5 or
JDK 6. The configuration process is executed by ANT (1.6.5. Ant is included in the software package and can be used to assist Java ee 5 applications.ProgramDevelopment.
- Download any software package to the disk and set the java_home system variable in the system.
- Run:
% Java-xmx256m-jarFilename. Jar
This command will decompress the glassfish package and create a new folder named "glassfish.
% Cd glassfish
- If you are using a Unix (TM) or Linux operating system, set the ant execution permission:
% Chmod-R + x lib/ANT/bin
% Lib/ANT/bin/ant-F setup. xml
Or in Windows:
% Lib/ANT/bin/ant-F setup. xml
For the installation of glassfish V2 ur1 including cluster support, you only need to replace the fourth step above:
% Lib/ANT/bin/ant-F setup-cluster.xml
Or in Windows:
% Lib/ANT/bin/ant-F setup-cluster.xml