Index Changes
This is version 9. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

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. The following list provides the GlassFish ESB JDK requirements by platform.
Solaris

JDK5: At least release 1.5.0_14
JDK6: At least release 1.6.0_03
Linux (Red Hat and SUSE)

JDK5: At least release 1.5.0_14
JDK6: At least release 1.6.0_03
Macintosh

JDK5: The latest 1.5 release supported by Apple
Microsoft Windows

JDK5: At least release 1.5.0_14
JDK6: At least release 1.6.0_03
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.

2. Go to http://java.sun.com/javase/downloads/index.jsp.

3. 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.

4. Set JAVA_HOME.

5. Korn and bash shells:export JAVA_HOME=_jdk-install-dir_export PATH=$JAVA_HOME/bin:$PATH

6. Bourne shell:JAVA_HOME=_jdk-install-dir_export JAVA_HOMEPATH=$JAVA_HOME/bin:$PATHexport PATH

7. C shell:setenv JAVA_HOME _jdk-install-dir_setenv PATH $JAVA_HOME/bin:$PATHexport PATH=$JAVA_HOME/bin:$PATH

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


1. Install the JDK software.

2. Go to http://java.sun.com/javase/downloads/index.jsp.

3. 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.

4. To 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 particular version was published on 02-Apr-09 13:49 PM, -0700 by CarolT