Sun Java Solaris Communities My SDN Account Join SDN
 
J2SE 1.3.0-05

J2SE 1.3.0-05 for Linux Installation Notes

 
Products listed on this page have completed the Sun End of Life process. These products are no longer supported by Sun.

For developer requirements, products that have completed the EOL transition period have moved to the Archive area.

Users should upgrade to current product versions.

Links below may have been disabled, please see the Archive for documentation available for download.

Installation Notes

Java 2 SDK, Standard Edition, Version 1.3.0
for Linux

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.0_03, the following command:
      ./j2sdk-1_3_0_<version number>-linux.bin
would become:
      ./j2sdk-1_3_0_03-linux.bin
The Java 2 SDK, Standard Edition, v1.3.0 is available in the following two installation formats:
  • A self-extracting binary file named j2sdk-1_3_0_<version number>-linux.bin which can be used to install the Java 2 SDK in a location chosen by the user. If you are using this file, see Installation of Self-Extracting Binary.

  • The file j2sdk-1_3_0_<version number>-linux-rpm.bin containing RPM packages comprising the Java 2 SDK. If you are using this bundle, see Installation of RPM File.
The bundles for both installation formats are packaged in a .bin shell script that displays the product license agreements before actual installation.

The Java 2 SDK includes the Java Plug-in. Refer to Installation of Java Plug-in.

Installation of Self-Extracting Binary

Use the following instructions if you want to use the self-extracting binary file to install the Java 2 SDK. If you want to install RPM packages instead, see Installation of RPM File.

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.

2. Copy j2sdk-1_3_0_<version number>-linux.bin to the directory you want to install into.

3. Run j2sdk-1_3_0_<version number>-linux.bin and agree to the license it displays.

Launch the executable file you downloaded, j2sdk-1_3_0_<version number>-linux.bin, by using the following command from the directory in which it is located:
./j2sdk-1_3_0_<version number>-linux.bin
The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will install the Java 2 SDK in a directory named jdk1.3.0_<version number> in the current directory.

Note about root access - Note that if you choose to install the Java 2 SDK into a system-wide location such as /usr/local, you must first become root to gain the necessary permissions. If you do not have root access, simply install the Java 2 SDK into your home directory, or a subdirectory that you have permission to write to.

Installation of RPM File

Use these instructions if you want to install Java 2 SDK in the form of RPM packages. If you want to use the self-extracting binary file instead, see Self-Extracting Binary.

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.

2. Run j2sdk-1_3_0_<version number>-linux-rpm.bin and agree to the license it displays.

Launch the executable file you downloaded, j2sdk-1_3_0_<version number>-linux-rpm.bin, by using the following command from the directory in which it is located:
./j2sdk-1_3_0_<version number>-linux-rpm.bin
The script will display a binary license agreement, which you will be asked to agree to before installation can proceed. Once you have agreed to the license, the install script will create the file j2sdk-1_3_0_<version number>-linux.rpm in the current directory.

3. Become root:

su

4. Run the rpm command to install the packages:

rpm -iv j2sdk-1_3_0_<version number>-linux.rpm

This will install the packages comprising the Java 2 SDK.

Note: It can happen that your installation may fail with a message such as "glibc >= 2.1.2-11 is needed by jre-1.3" even though glibc 2.1.2 (or greater) is on your system. This can happen when your glibc was not installed as part of an rpm package and is therefore not on the rpm file list. In that case, the J2SE rpm installation package won't recognize that glibc is installed. To force the J2SE installation to proceed without a dependency check, use the --nodeps option:
rpm -iv --nodeps j2sdk-1_3_0_<version number>-linux.rpm

If you have previously installed an earier beta or rc release, you may need to use the --force option. Doing so will install the SDK, replacing files as necessary.

5. Exit the root shell.

Installation of Java Plug-in

To install the Java Plug-in follow these steps.

1. Uninstall previous installation of the Java Plug-in, if applicable.

rm -fr $HOME/.netscape/java
rm $HOME/.netscape/plugins/javaplugin.so

2. Set the NPX_PLUGIN_PATH environment variable:

for Netscape 4 browser: 
export NPX_PLUGIN_PATH=<jre>/plugin/i386/ns4

for netscape 6 browser: 
Make soft link from <netscape>/plugin to <jre>/plugin/i386/ns600/libjavaplugin_oji.so

example: ln -s <jre>/plugin/i386/ns600/libjavaplugin_oji.so <netscape>/plugins/.

Here, <jre> is the path to the jre1.3 directory inside your installation of the Java 2 SDK.

3. Start (or restart) your Netscape browser.

Start your Netscape browser. If your browser is already running, close it and restart it.

4. Close and restart your Netscape browser again.

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