Index Changes
Contents

Installing the JDK Software and Setting JAVA_HOME

If you do not already have the JDK software installed or if JAVA_HOME 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 operating system you are using, see Preparing for Installation.

Caution - 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 and Set JAVA_HOME on a UNIX System


  1. Install the JDK software.
    1. Go to http://java.sun.com/javase/downloads/index.jsp.
    2. Select the appropriate JDK version and click Download. The JDK software is installed on your computer, for example, at /usr/jdk/jdk1.6.0_02. You can change this location.
  2. Set JAVA_HOME.
    • Korn and bash shells:
      export JAVA_HOME=_jdk-install-dir_
      export PATH=$JAVA_HOME/bin:$PATH
    • Bourne shell:
      JAVA_HOME=_jdk-install-dir_
      export JAVA_HOME
      PATH=$JAVA_HOME/bin:$PATH
      export PATH
    • C shell:
      setenv JAVA_HOME _jdk-install-dir_
      setenv PATH $JAVA_HOME/bin:$PATH
      export PATH=$JAVA_HOME/bin:$PATH

To Install the JDK Software and Set JAVA_HOME on a Windows System


  1. Install the JDK software.
    1. Go to http://java.sun.com/javase/downloads/index.jsp.
    2. Select the appropriate JDK software and click Download.
      The JDK software is installed on your computer, for example, at C:\Program Files\Java\jdk1.6.0_02. You can move the JDK software to another location if desired.
  2. Set JAVA_HOME:
    • Right click My Computer and select Properties.
    • 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.

Previous Next


Return to GlassFish ESB Documentation Home

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This page (revision-17) was last changed on 19-May-09 13:48 PM, -0700 by CarolT