[CentOS] java annoyances

Fri Jul 8 20:18:15 UTC 2011
B.J. McClure <keepertoad at bellsouth.net>

On Fri, 2011-07-08 at 15:29 -0400, m.roth at 5-cent.us wrote:
> Fresh install on a brand new box (Dell Precision 3500) of 5.6. I install
> Sun java-1.6.0_26-b03, Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02,
> mixed mode)
> <snip>
> A followup: from Oracle's website, at
> <http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html>:
> Excerpt:
> Notes
> 
>     * The classic plugin file was located here:
> 
>       <JRE>/plugin/i386/javaplugin-oji.so
> 
>       This file should no longer be used and all symbolic links to it
> removed.
> --- end excerpt ---
> 
>    mark

Mark, this works for me.  HTH.

B.J.

Java:

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/java/jre*/lib/amd64/libnpjp2.so.