Sun Java Solaris Communities My SDN Account Join SDN
 
Archive: JRE - v 1.3.1-01

Installation Notes

 

Installation Notes

Java 2 Runtime Environment, Standard Edition
Version 1.3.1
Solaris 2.6, 7, 8 Operating Environment

System Requirements

The Java 2 Runtime Environment, Standard Edition, v. 1.3.1 is intended for use on Solaris 2.6, Solaris 7, and Solaris 8 operating environments.

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.

Installation Instructions

The Java 2 Runtime Environment (J2RE), Standard Edition, v1.3.1 comes in the form of a self-extracting binary file. Follow the instructions below to install the J2RE. Note the special Java Plug-in installation instructions.

See also the note about the location of the Java HotSpot libjvm.so files.

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

       <version number>

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

      chmod +x j2re-1_3_1_<version number>-solsparc.sh

would become:

      chmod +x j2re-1_3_1_01-solsparc.sh

1. Check the download file size

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.

If the file size doesn't match, it probably means the file was corrupted during download. In that case, try downloading again.

2. Make sure that execute permissions are set on the self-extracting binary:
On SPARC:
chmod +x j2re-1_3_1_<version number>-solsparc.sh

On x86:
chmod +x j2re-1_3_1_<version number>-solx86.sh

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

4. Run the self-extracting binary.

A directory called j2re1_3_1_<version number> will be created in the current directory. After the installation is finished, this directory can be renamed as desired.

Java Plug-in Product Installation Instructions

For documentation on the Java Plug-in product, see

http://java.sun.com/products/plugin/1.3.1/index.html

Follow these steps to install the Java Plug-in product:

1. Set the NPX_PLUGIN_PATH environment variable to the directory containing the javaplugin.so file.

On SPARC platforms, the default location of javaplugin.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/

 

1. The location of the Plug-in (javaplugin.so) should be give with an absolute path—not relative to the installation location of the JRE.

2. Setting NPX_PLUGIN_PATH will override the default search path used by the browser. Therefore any plugin directories that the browser currently searches for plugins should also be added to the path.

2. For Netscape 6 browsers: Create a symbolic link in the Netscape plugins directory

If (and only if) you are using Netscape 6, you will need to create a symbolic link in the Netscape plugins directory to the path of the libjavaplugin_oji.so file. In the package installation of J2SDK 1.3.1, this file is located at /usr/j2se/jre/plugin/<arch>/ns600/libjavaplugin_oji.so, where <arch> is either sparc or i386, depending on your platform. For example:

cd ${NETSCAPE6}/bin/plugins

ln -s ${JRE}/plugin/sparc/ns600/libjavaplugin_oji.so .


3. For all Netscape browsers: Start your Netscape browser, or restart it if it is already up.

4. For Netscape 4.x browsers: Restart your browser a second time.

Restarting the browser a second time is necessary because of bug 4358142.


Location of libjvm.so files

If you use the Invocation API to launch an application directly rather than using the Java application launcher, be sure to use the correct paths to invoke the Java HotSpot Client VM or Java HotSpot Server VM as desired. The path within the SDK to the Java HotSpot Client VM is
jre/lib/sparc/client/libjvm.so (on SPARC)
jre/lib/i386/client/libjvm.so (on x86)
The path to the Java HotSpot Server VM is
jre/lib/sparc/server/libjvm.so (on SPARC)
jre/lib/i386/server/libjvm.so (on x86)
The Exact VM and Classic VM are no longer part of the Java 2 platform, and legacy code that uses the Invocation API to launch an application based on old paths to the Exact or Classic VMs will not work.