[CentOS] Getting JRE working in Firefox

Fri Mar 7 16:12:14 UTC 2008
Robert Moskowitz <rgm at htt-consult.com>

Niki Kovacs wrote:
> Robert Moskowitz a écrit :
>> I have installed both:
>>
>> jdk-6u5-linux-i586-rpm.bin
>> jre-6u5-linux-i586-rpm.bin
>>
>>
>> But no Java plugin in Firefox.
>
> I have written a complete HOWTO here:
>
> http://www.microlinux.fr/article.php3?id_article=13
>
> Scroll down to "Installation du plugin Java". It's in french, but the 
> most interesting parts are in plain shell lingo :oD
I think I followed your instructions (I am dyslexic and basically 
flunked High School Spanish back in the '60s), but still not working.  
Here is what I get:

/usr/sbin/alternatives --display java

java - status is manual.
 link currently points to /opt/jre1.6.0_05/bin/java
/usr/lib/jvm/jre-1.4.2-gcj/bin/java - priority 1420
 slave javaws: (null)
 slave jcontrol: (null)
 slave keytool: /usr/lib/jvm/jre-1.4.2-gcj/bin/keytool
 slave rmiregistry: /usr/lib/jvm/jre-1.4.2-gcj/bin/rmiregistry
 slave jre_exports: /usr/lib/jvm-exports/jre-1.4.2-gcj
 slave jre: /usr/lib/jvm/jre-1.4.2-gcj
/usr/java/default/bin/java - priority 1000
 slave javaws: /usr/java/default/bin/javaws
 slave jcontrol: /usr/java/default/bin/jcontrol
 slave keytool: (null)
 slave rmiregistry: /usr/java/default/bin/rmiregistry
 slave jre_exports: (null)
 slave jre: /usr/java/default
/opt/jre1.6.0_04/bin/java - priority 2
 slave javaws: (null)
 slave jcontrol: (null)
 slave keytool: (null)
 slave rmiregistry: (null)
 slave jre_exports: (null)
 slave jre: (null)
/opt/jre1.6.0_05/bin/java - priority 2
 slave javaws: (null)
 slave jcontrol: (null)
 slave keytool: (null)
 slave rmiregistry: (null)
 slave jre_exports: (null)
 slave jre: (null)
Current `best' version is /usr/lib/jvm/jre-1.4.2-gcj/bin/java.