Search This Blog


Check out these Pages


To set JAVA_HOME on a UNIX System

  1. 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:
      export JAVA_HOME
      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
  2. Change the permissions to enable you to run the GlassFish ESB Installer by running the following command:
    chmod 755 JavaCAPS.bin

To set JAVA_HOME on Windows System.


To Set JAVA_HOME on a Windows System

To set JAVA_HOME, do the following:
  1. Right click My Computer and select Properties.
  2. On the Advanced tab, select Environment Variables, and then edit JAVA_HOME to point to where the JDK software is located, for example, C:\Program Files\Java\jdk1.6.0_02.