Linux.com

Home Linux Community Community Blogs General Linux JRE plugin not installed on Firefox

JRE plugin not installed on Firefox

I just went through some interesting experience to share with folks around getting your plugins to work with typical open source Browsers , like Aurora 6.2(Firefox). Read this carefully , it has changed....  this was a real time sync for someone that thought they new the ropes, but , things had changed..

All over the net are posts to do a softlink to 

/usr/java/latest/plugin/i386/ns7/libjavaplugin_oji.so

 

But.. this is no longer the module to use , even though it's still there in the Distro, it has changed for Oracle JRE releases. My version is :

[root@localhost latest]# ./bin/java -version
java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing)

Instructions and website:

http://www.java.com/en/download/help/linux_install.xml#rpm

Firefox or Mozilla

To configure the Java Plugin follow these steps:

  1. Exit Firefox browser if it is already running.
  2. Uninstall any previous installations of Java Plugin.
    Only one Java Plugin can be used at a time. When you want to use a different plugin, or version of a plugin, remove the symbolic links to any other versions and create a fresh symbolic link to the new one.
  3. 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 /plugins
    • Create the symbolic link ln -s /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 /plugins
    rm libjavaplugin_oji.so

 

 

Comments

Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFS426 Linux Performance Tuning
    08 Sep » 11 Sep - New York
    Details
  2. LFS520 OpenStack Cloud Architecture and Deployment
    08 Sep » 11 Sep - Virtual
    Details
  3. LFD320 Linux Kernel Internals and Debugging
    15 Sep » 19 Sep - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board