Installation Instructions
Java 2 SDK, Standard Edition
Version 1.3.0_02
for Linux
The Java 2 SDK, Standard Edition,
v1.3.0_02 is available in two installation formats.
- A self-extracting binary file named j2sdk-1_3_0_02-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 Self-Extracting Binary below.
- The file j2sdk-1_3_0_02-linux-rpm.bin containing RPM
packages comprising the Java 2 SDK. If you are using this bundle, see
Installation of RPM File below.
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_0_02-linux.bin 25,932,583 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_0_02-linux.bin to the directory you want
to install into.
3.
Run j2sdk-1_3_0_02-linux.bin and agree to
the license it displays.
Launch the executable file you downloaded, j2sdk-1_3_0_02-linux.bin,
by using the following command from the directory in which it is located:
./j2sdk-1_3_0_02-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_02 in
the current directory.
Note about root access -
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.
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_0_02-linux-rpm.bin 24,589,028 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_0_02-linux.bin and agree to
the license it displays.
Launch the executable file you downloaded, j2sdk-1_3_0_02-linux-rpm.bin,
by using the following command from the directory in which it is located:
./j2sdk-1_3_0_02-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_02-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_02-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, this J2SE
rpm installation package won't recognize that glibc is installed.
To force the J2SE installation to proceed, use the --force option:
rpm -iv --force j2sdk-1_3_0_02-linux.rpm
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.
|