Table of Contents

Linux - Installation of Java 1.5 on Redhat and Firefox 3.5

Steps

[root@oel11g tmp]# chmod a+x jdk-1_5_0_22-linux-i586-rpm.bin
[root@oel11g tmp]# ls -l|grep jdk-1_5_0_22-linux-i586-rpm.bin
-rwxr-xr-x 1 root       root       47930001 Oct 16  2009 jdk-1_5_0_22-linux-i586-rpm.bin
[root@oel11g tmp]# mkdir /usr/local/java/
[root@oel11g tmp]# cd /usr/local/java/

You can not choose the installation directory with a Linux RPM (self-extracting) file. It will always be installed in /usr/java

To install Java in a system-wide location such as /usr/local, you must login as the root user to gain the necessary permissions. If you do not have root access, install the Java in your home directory or a subdirectory for which you have write permissions.

[root@oel11g java]# mv /tmp/jdk-1_5_0_22-linux-i586-rpm.bin ./
./jdk-1_5_0_22-linux-i586-rpm.bin
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP ([email protected]).
  inflating: jdk-1_5_0_22-linux-i586.rpm
Preparing...                ########################################### [100%]
   1:jdk                    ########################################### [100%]

Done.

Firefox Configuration in graphic environment

[root@oel11g plugins]# ln -s /usr/java/jdk1.5.0_22/jre/plugin/i386/ns7/libjavaplugin_oji.so

Documentation / Reference