[CentOS] java please help

Fri Feb 11 23:02:22 UTC 2011
b.j. mcclure <keepertoad at bellsouth.net>

On Fri, 2011-02-11 at 11:42 -0800, ann kok wrote:
> Hi 
> 
> I use yum to install openjdk 1.6.0 in centos5.5
> 
> but the firefox browser still says that 
> 
> JRE not installation / Java is disabled
> 
> Can you help
> 
<snip>

This works for me.


To enable java, download and install the appropriate version for your
architecture here.
http://java.com/en/download/linux_manual.jsp?locale=en&host=www.java.com . 

For i386:

        Navigate to /usr/lib/mozilla/plugins and create ln -s
        to /usr/java/jre*/lib/i386/libnpjp2.so.

For x86_64:

        Navigate to /usr/lib64/mozilla/plugins and ln -s
        to /usr/lib/java/jre*/lib/amd64/libnpjp2.so.
        
        HTH, YMMV
        B.J.