Downloading and installing the Sun JDK

Before installing WebLogic Server, you must install the Sun JDK.

To download and install the Sun JDK:

  1. To download Sun Java 6:
    1. Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html.
    2. On the Downloads tab, click Previous Releases.
    3. On the Oracle Java Archive page, click Java SE 6.
    4. On the Java SE 6 Downloads page, click the link for the most recent version of the Java SE Development Kit.

      The page scrolls to the list of downloads for that version of the JDK.

    5. At the top of the list, click the Accept License Agreement radio button.
    6. In the list, click the Download link for Windows x64 or Linux x64.
    7. Save the file (jdk-<version>-windows-x64.exe or jdk-<version>-linux-x64.bin) to your machine.
  2. To install the JDK on Windows:
    1. Double-click the JDK installer file.

      The welcome page of the installation wizard displays.


      Welcome page of the JDK installation
    2. On the welcome page, click Next.
    3. Because the default installation location (under Program Files) has a space, you must change it. On the Custom Setup page, click Change.
      Initial view of the Custom Setup page for the JDK installation
    4. In the Folder name field, remove the Program Files directory, to change the location to: C:\Java\jdk1.6.0_43\
      Setting the new value for the JDK destination folder
    5. Click OK.
    6. On the Custom Setup page, verify that the installation location has updated, then click Next.
      Custom Setup page for the JDK installation after the destination folder changed
    7. On Destination Folder page, leave the default directory and click Next.

      The installation process begins.

    8. When the installation completes, click Finish.
      Installation complete page for the JDK installation
  3. To install the Sun JDK on Linux:
    1. Select a location for installation. For example, $HOME/Oracle/Endeca.
    2. Place the JDK .bin file (for example, jdk-6u43-linux-x64.bin) into $HOME/Oracle/Endeca, and ensure that it has execute permissions,
    3. Execute the file.

      The JDK is extracted into the directory. For example, $HOME/Oracle/Endeca/jdk1.6.0_43.