Installation Notes

JavaTM 2 SDK, Standard Edition
Version 1.3.1
Linux

Japanese

System Requirements

This version of the Java 2 SDK is supported on Intel Pentium platforms running the Linux kernel v 2.2.12 and glibc v2.1.2-11 or later. A minimum of 32 megabytes RAM are required. Recommended 48 megabytes of RAM, 16-bit color mode, KDE and KWM window managers used in conjunction with displays set to local hosts.

Check your version of glibc using the following command:

ls /lib/libc-*

You should have about 75 megabytes of free disk space before attempting to install the Java 2 SDK software. If you also install the separate documentation download bundle, you need an additional 125 megabytes of free disk space.

The officially supported Linux platform for J2SDK 1.3.1 is RedHat Linux 6.2, and most testing of J2SDK 1.3.1 for Linux has been conducted on that operating system. However, J2SDK 1.3.1 has undergone limited testing on other Linux operating systems. The following table shows the Linux platforms, by locale, on which Sun has tested this release to at least a limited extent. See below for information about Known Problems on various Linux operating systems.

LocaleLinux platform tested
EnglishRed Hat Linux 6.1
Red Hat Linux 6.2
Red Hat Linux 7.1
Caldera OpenLinux 2.4
Mandrake Linux 7.1
Turbo Linux Workstation 6.0
SuSe Linux 6.4
GermanRed Hat Linux 6.2
JapaneseRed Hat Linux 6.2J
Red Hat Linux 6.2J Second Edition
Simplified ChineseTurbo Linux Workstation 6.0

Known Problems
RedHat Linux 6.2 is the officially supported Linux platform for J2SDK 1.3.1. Limited testing has been done on other Linux operating systems, and the following are known problems on the non-supported platforms.

Installation Instructions

The JavaTM 2 SDK, Standard Edition, v1.3.1 is available in two installation formats. The bundles for both installation formats are packaged in an .bin shell script that displays the product license agreements before actual installation.

The Java 2 SDK includes the Java Plug-in. See Installation of Java Plug-in below.

Installation of Self-Extracting Binary

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

1. Check the download file size.

Check the large file that you downloaded to ensure that it is the correct size:

j2sdk-1_3_1-linux-i386.bin     26924751 bytes
If the file size doesn't match, it probably means the file was corrupted during download. In that case, try downloading again.

2. Copy j2sdk-1_3_1-linux-i386.bin to the directory into which you want to install the Java 2 SDK.

3. Run j2sdk-1_3_1-linux-i386.bin

Launch the executable file you downloaded, j2sdk-1_3_1-linux-i386.bin, by using the following commands from the directory in which it is located:
chmod a+x j2sdk-1_3_1-linux-i386.bin

./j2sdk-1_3_1-linux-i386.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.1 in the current directory.

Note about root access - Unbundling the software automatically creates a directory called jdk1.3.1. Note that if you choose to install the Java 2 SDK into 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.

Note about overwriting files - If you unpack the software or documentation in a directory that contains a subdirectory named jdk1.3.1, the new software will overwrite files of the same name in that jdk1.3.1 directory. Please be careful to rename the old directory if it contains files you would like to keep.


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 above.

1. Check the download file size.

Check the large file that you downloaded to ensure that it is the correct size:

j2sdk-1_3_1-linux-i386-rpm.bin     25450562 bytes
If the file size doesn't match, it probably means the file was corrupted during download. In that case, try downloading again.

2. Run j2sdk-1_3_1-linux-i386-rpm.bin and agree to the license it displays.

Launch the executable file you downloaded, j2sdk-1_3_1-linux-i386-rpm.bin, by using the following commands from the directory in which it is located:

chmod a+x j2sdk-1_3_1-linux-i386-rpm.bin

./j2sdk-1_3_1-linux-i386-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 jdk-1.3.1.i386.rpm in the current directory.

3. Become root by running the su command and entering the super-user password.

4. Run the rpm command to install the packages:

rpm -iv jdk-1.3.1.i386.rpm

This will install the packages comprising the Java 2 SDK.

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 to the directory containing the javaplugin.so file. This file is located inside the Java 2 SDK in the jre/plugin/i386/ns4/ directory.

3. 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. This file is located within the Java 2 SDK at jre/plugin/i386/ns600/libjavaplugin_oji.so.
cd ${NETSCAPE6}/plugins
ln -s ${JRE}/plugin/i386/ns600/libjavaplugin_oji.so .

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

5. For all Netscape browsers: Restart your browser a second time.

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


Copyright © 2001 Sun Microsystems, Inc. All Rights Reserved. Sun