If you do not already have the JDK software installed or if the JAVA_HOME environment variable is not set, the GlassFish ESB installation will not be successful. The following tasks provide the information you need to install the JDK software and set JAVA_HOME on UNIX or Windows systems.
To find out which JDK versions are supported for the platform you are using, see JDK and JAVA_HOME in Planning for GlassFish ESB Installation.
The GlassFish ESB Installer does not support JDK release 1.6.0_04 in the 64–bit version on the Solaris SPARC or AMD 64–bit environments.
To install the JDK software, do the following:
To set JAVA_HOME, do one of the following:
For Korn and bash shells, run the following commands:
export JAVA_HOME=jdk-install-dir
export PATH=$JAVA_HOME/bin:$PATH
For the bourne shell, run the following commands:
JAVA_HOME=jdk-install-dir
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH
For the C shell, run the following commands:
setenv JAVA_HOME jdk-install-dir
setenv PATH $JAVA_HOME/bin:$PATH
export PATH=$JAVA_HOME/bin:$PATH
Change the permissions to enable you to run the GlassFish ESB Installer by running the following command:
chmod 755 JavaCAPS.bin
To install the JDK software, do the following:
To set JAVA_HOME, do the following: