Installing Upgrading Designing Configuring Deploying Monitoring Administering Troubleshooting Reference JBI Components
Close Print View
Installing: Installing the JDK Software and Setting JAVA_HOME
 

Planning for Java CAPS Installation

Using the Java CAPS 6 Installation GUI

Overview of Installation

Installing the JDK Software and Setting JAVA_HOME

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

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

Installing Java CAPS Using the Java CAPS Installer

To Install Java CAPS Components Using Java CAPS Installer

Installing Java CAPS Components Using the NetBeans IDE Update Center

To Install Java CAPS Components Using the NetBeans IDE Update Center

Installing Java CAPS Components Using the Java CAPS Uploader

To Install Java CAPS Components Using the Java CAPS Uploader

To Download and Expand ZIP Files Using the Java CAPS Uploader

Installing Plugins Using Enterprise Manager Web Applications Manager

To Install Java CAPS Plugins Using the Enterprise Manager Web Applications Manager

Starting and Stopping Java CAPS

Connecting to Java CAPS Repository From the NetBeans IDE

To Connect to Java CAPS Repository from the NetBeans IDE

Importing Non-JBI Based Java CAPS Sample Projects

To Import a Non-JBI Based Sample Project

Using the Java CAPS 6 Installation CLI

Installing Additional Components for Java CAPS 6

Installing Third-Party JAR Files

Java CAPS Runtime Installation

Uninstalling Java CAPS 6

Installing Patches for Java CAPS

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 Java CAPS 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 Java CAPS JDK requirements by platform.

Solaris

JDK5: At least release 1.5.0_14

JDK6: At least release 1.6.0_03

IBM AIX

JDK5: The latest 1.5 release supported by IBM AIX

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 Java CAPS 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-direxport PATH=$JAVA_HOME/bin:$PATH
    • Bourne shell:JAVA_HOME=jdk-install-direxport JAVA_HOMEPATH=$JAVA_HOME/bin:$PATHexport PATH
    • C shell:setenv JAVA_HOME jdk-install-dirsetenv PATH $JAVA_HOME/bin:$PATHexport PATH=$JAVA_HOME/bin:$PATH
  3. Change the permissions to enable you to run the Java CAPS Installer.chmod 755 JavaCAPS.bin

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. To set JAVA_HOME:
    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.