To set JAVA_HOME on a UNIX System
On Java
- 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
- For Korn and bash shells, run the following commands:
- Change the permissions to enable you to run the GlassFish ESB Installer by running the following command:
chmod 755 JavaCAPS.bin
https://docs.oracle.com/cd/E19182-01/821-0917/6nluh6gq9/index.html