Please Teach me. I did the several times with the two downloadable versions from Java.com (not three), but still no luck.
http://java.com/en/download/help/5000010500.xml#rpm
# let me start again slowly with the first downloadable entry in Java.com
[root@wnoa java]# ll
total 19888
-rwxr-xr-x 1 root root 20334234 Dec 14 17:36 jre-6u17-linux-i586-rpm.bin
[root@wnoa java]# ./jre-6u17-linux-i586-rpm.bin
Sun Microsystems, Inc. Binary Code License Agreement
for the JAVA SE RUNTIME ENVIRONMENT (JRE) VERSION 6 and
JAVAFX RUNTIME VERSION 1
SUN MICROSYSTEMS, INC. ("SUN") IS WILLING TO LICENSE THE
... < more and more >
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jre-6u17-linux-i586.rpm
Preparing... ########################################### [100%]
1:jre ########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
localedata.jar...
plugin.jar...
javaws.jar...
deploy.jar...
Done.
[root@wnoa java]# ll
total 40020
lrwxrwxrwx 1 root root 16 Dec 14 17:40 default -> /usr/java/latest
drwxr-xr-x 7 root root 4096 Dec 14 17:40 jre1.6.0_17
-rw-r--r-- 1 root root 20569081 Oct 11 18:35 jre-6u17-linux-i586.rpm
-rwxr-xr-x 1 root root 20334234 Dec 14 17:36 jre-6u17-linux-i586-rpm.bin
lrwxrwxrwx 1 root root 21 Dec 14 17:40 latest -> /usr/java/jre1.6.0_17
[root@wnoa java]# rpm -iv jre-6u17-linux-i586.rpm
Preparing packages for installation...
package jre-1.6.0_17-fcs.i586 is already installed
# as expected.
[root@wnoa java]# /usr/java/jre1.6.0_17/bin/java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
# and according to bigrigdriver's quote...
[jerry@wnoa plugins]$ ll /home/jerry/.mozilla/plugins/libjavaplugin_oji.so
lrwxrwxrwx 1 jerry jerry 58 Dec 14 17:47 /home/jerry/.mozilla/plugins/libjavaplugin_oji.so -> /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
# also I did these just in case
[jerry@wnoa plugins]$ ll /usr/lib/mozilla/plugins/libjavaplugin_oji.so
lrwxrwxrwx 1 root root 58 Dec 14 18:03 /usr/lib/mozilla/plugins/libjavaplugin_oji.so -> /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
[jerry@wnoa plugins]$ ll /usr/lib64/mozilla/plugins/libjavaplugin_oji.so
lrwxrwxrwx 1 root root 58 Dec 14 18:03 /usr/lib64/mozilla/plugins/libjavaplugin_oji.so -> /usr/java/jre1.6.0_17/plugin/i386/ns7/libjavaplugin_oji.so
# no luck after reboot neither
#####
Some side-track and stupid questions that I've always wanted to ask:
- how come many applications installed on my RedHat have 2 versions? both i386 and x86_64?
- how to determine where an application is installed to?
e.g. I have /usr/bin/firefox and then
/usr/lib/firefox-3.0...
/usr/lib64/firefox-3.0...
which one is The firefox installation? How to know?
(all I did was 'yum update -y' every week)
Please teach me.