[CentOS] java annoyances

Fri Jul 8 19:41:30 UTC 2011
Ljubomir Ljubojevic <office at plnet.rs>

m.roth at 5-cent.us wrote:
>> please watch out for i386/x86_64 differences, and replace path where
>> needed.
> 
> Ok, this used to be, for i386. At any rate, that's not in the Sun package,
> as released via RHN.
> 
>        mark

This is what is now on my CentOS 5.6 64-bit:

use libnpjp2.so from
/usr/java/jre1.6.0_22/lib/amd64/libnpjp2.so

and create link to
/usr/lib64/mozilla/plugins/libnpjp2.so
/usr/lib64/mozilla/plugins-wrapped/libnpjp2.so

I hope this path works for you. Please post results.

Ljubomir