Were do I put the symlink for Java on a RHEL 6.1 WS 64-bit?

Posted on

Hello folks!

I'll hope there is anyone that got this working, because I can't seem to find any solution on Google around this. Especially for the 64-bits version of RHEL.


I got the Java enviroment installed, but I need to create a symlink for the libnpjp2.so.

The only guide I found is for 32-bit, and that's a big differents between them.




Create a symbolic link to the libnpjp2.so file in the browser plugins directory

  • Go to the plugins sub-directory under the Firefox installation directory
    cd <Firefox installation directory>/plugins
  • Create the symbolic link
    ln -s <Java installation directory>/lib/i386/libnpjp2.so

Note: If you are upgrading your Java version then before creating new symbolic link you should remove old symbolic link to enable latest downloaded Java.

To remove old symbolic link:
type cd <Firefox installation directory>/plugins
rm libjavaplugin_oji.so


  • If Firefox is installed at this directory:
    /usr/lib/<Firefox installation directory>
  • And if the Java is installed at this directory:
    /usr/java/<Java installation directory>
  • Then type in the terminal window to go to the browser plug-in directory:
    /usr/lib/<Firefox installation directory>/plugin
  • Enter the following command to create a symbolic link to the Java Plug-in for the Mozilla browser.
    ln -s /usr/java/<Java installation directory>/lib/i386/libnpjp2.so

I need Java up and runing today, but I can't seem to get this to work. =/


Best regards