|
Installing the Java Plug-In for Linux |
|
| Home Support Site Map | ||
|
|
||
JavaTM is provided, managed, and maintained by
Sun Microsystems, Inc.
Please visit the Java home page for
support, downloads, and the latest information about Java.
These installation instructions are adapted from
Sun's installation
instructions for Linux. According to Sun, Red Hat Linux 6.2 is the officially supported version of Linux,
and the one on which the Java Plug-In has received the most testing.
We have also had good luck with the Java Plug-In on Red Hat 7.1-7.3 and 8.0.
See About the Java Plug-In for more information and links.
System Requirements
(You can check your glibc version by running
ls /lib/libc-*)
Installation Instructions
The version we mirror should be
13,863,898 bytes (1.4.2_14).
In the directory where you saved the script, run
If you agree to the license, the script will create the file
chmod a+x j2re-1_4_2_14-linux-i586-rpm.bin
./j2re-1_4_2_14-linux-i586-rpm.bin
j2re-1.4.2_14.i586.rpm
su
rpm -iv j2re-1.4.2_14.i586.rpm
exit the root shell.
rm -fr $HOME/.netscape/java
rm $HOME/.netscape/plugins/javaplugin.so
NPX_PLUGIN_PATH environment variable.
where
export NPX_PLUGIN_PATH=JRE/plugin/i386/ns4
JRE is the path to
the JRE.
Usually, this will be /usr/java/j2re1.4.2_14
You should also add this command to your startup script
(or to /etc/profile to make it available to all users).
where
cd NETSCAPE/plugins
ln -s JRE/plugin/i386/ns600/libjavaplugin_oji.so .
JRE is as before, and
NETSCAPE is the installation
directory of your browser (usually /usr/local/netscape
or /usr/local/mozilla).
Tested Platforms
Locale
Linux platform tested
English
Red Hat Linux 6.2 (Officially supported version)
Red Hat Linux 7.1
Caldera OpenLinux 2.4
Mandrake Linux 7.1
Turbo Linux Workstation 6.0
SuSe Linux 6.4
German
Red Hat Linux 6.2
Japanese
Red Hat Linux 6.2J
Red Hat Linux 6.2J Second Edition
Simplified Chinese
Turbo Linux Workstation 6.0
Known Issues
Situation
Problem
Workaround
CONFIG_IP_TRANSPARENT_PROXY option
root
Behavior in comformance with the API specification is not guaranteed
root
CONFIG_IP_TRANSPARENT_PROXY
Red Hat 7.0
Various problems (some listed below)
Use Red Hat 7.1 or higher
glibc-2.2.x
(e.g. Red Hat 7.0, SuSe 7.2, and Debian 2.2)Cannot handle initial thread stacks larger than 6 Mb.
This can cause a segmentation fault.
ulimit -s 2048 in bash
or limit stacksize 2048 in tcsh
to limit the initial thread stack size to 2 Mb.
"Error while loading shared libraries"
Manually install
compat-libstdc++-6.21-2.9.0.0.i386.rpm
from /RedHat/RPMS on the RedHat Linux 7 CD-ROM.
Caldera OpenLinux
RPM installer fails dependency check on
glibc-2.1.2-3Obtain newer
glibc from
Debian 2.2
Various problems
Install
libstdc++2.9-glibc2.1
from the oldlibs archive.