J2RE Standard Edition 1.4.0 Solaris Installation Notes

Java 2 Runtime Environment, Standard Edition Version 1.4.0 Solaris Operating Environment

System Requirements

Prior to installing the Java 2 Runtime Environment, you should insure that you have installed the full set of required patches needed for support of this release. You will find a patch cluster for each Solaris operating environment platform. Each patch cluster applies to all supported versions of the Java 2 Standard Edition (J2SE) on the given platform.

See also Solaris Font Package Requirements for information about which font packages should be on your system.

Installation Instructions

At the end of this file, see also:

Java Plug-in product installation instructions
Java Web Start product installation instructions

64-bit support for the Java 2 Runtime Environment is available for SPARC processor platforms in a separate download. Installation instructions for 64-bit support are in a separate document.

Note: For any lines on this page containing the following notation, you must substitute the appropriate Java 2 RE update version number for the notation.

<version number>

For example, if you are downloading update 1.4.0_01, the following command:

chmod +x j2re-1_4_0_<version number>-solaris-sparc.sh

would become:

chmod +x j2re-1_4_0_01-solaris-sparc.sh

  1. Check the download file size
  2. Before you download a file, notice that its byte size is provided on the download page. Once the download has completed, check that you have downloaded the full, uncorrupted software file.

  3. Make sure that execute permissions are set on the self-extracting binary:
  4. On SPARC:
    chmod +x j2re-1_4_0_<version number>-solaris-sparc.sh

    On x86:
    chmod +x j2re-1_4_0_<version number>-solaris-i586.sh

  5. Change directory to the location where you would like the files to be installed.

4. Run the self-extracting binary.

A directory called j2re1.4.0_<version number> will be created in the current directory.

Java Plug-in Product Installation Instructions

http://docs.oracle.com/javase/1.4.2/docs/guide/plugin/index.html

  1. For Netscape 4.x browsers: Set the NPX_PLUGIN_PATH environment variable to the directory containing the javaplugin.so file. (This step is not necessary if you use only Netscape 6.x browsers.)

    On the SPARC operating environment, the default location of javaplugin140.so for the package installation is in this directory: /usr/j2se/jre/plugin/sparc/ns4/

    On Intel platforms, the default location is this directory: /usr/j2se/jre/plugin/i386/ns4/

  2. For Netscape 6 browsers: Use regxpcom tool provided by Netscape to register Java Plug-in 1.4.
  3. If (and only if) you are using Netscape 6, you will need to use regxpcom provided by Netscape to register the libjavaplugin_oji140.so file. In the package installation of 1.4.0, copies of this file are located at /usr/j2se/jre/plugin/<arch>/ns600/libjavaplugin_oji140.so and /usr/j2se/jre/plugin/<arch>/ns610/libjavaplugin_oji140.so, where <arch> is either sparc or i386, depending on your platform. For example:

    cd ${NETSCAPE6}/bin If you use a Netscape 6.0x browser:
    regxpcom ${JRE}/plugin/sparc/ns600/libjavaplugin_oji140.so

    If you use a Netscape 6.1x browser:
    regxpcom ${JRE}/plugin/sparc/ns610/libjavaplugin_oji140.so

  4. For all Netscape browsers: Start your Netscape browser, or restart it if it is already up.
  5. Java Web Start Installation Instructions

    Java RE 1.4.0 includes the Java Web Start product. In the top-level directory you will find a ZIP file named javaws-1_0_1_<version number>-solaris-sparc-i.zip on SPARC platforms and javaws-1_0_1_<version number>-solaris-i586-i.zip on Intel platforms. The <version number> notation refers to the current Java Web Start version number.

    Move this file to a location where you want to install the Java Web Start product (preferably outside the Java RE installation). Unzip the file. One of the files extracted will be install.sh. Run this script to install the Java Web Start product.

    Location of libjvm.so files

    jre/lib/sparc/client/libjvm.so (on SPARC processors)
    jre/lib/i386/client/libjvm.so (on x86 processors)

    jre/lib/sparc/server/libjvm.so (on SPARC processors)
    jre/lib/i386/server/libjvm.so (on x86 processors)