how to enable jdk for firefox on RHEL 5u3_64

Posted on 2010-03-26
Medium Priority
Last Modified: 2013-12-07
In the past I have been able to enable the jdk plugin for firefox by doing:
ln -s /usr/java/latest/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so

On this new box when i install jdk6.14 the /usr/java/latest/jre/plugin directory does not have the i386 sub directory or any reference to libjavaplugin_oji.so

Where is libjavaplugin_oji.so and/or how do I install the jdk plugin for firefox?
Question by:jdan
LVL 16

Accepted Solution

medvedd earned 2000 total points
ID: 28712071
After installation of jdk, do this:

alternatives --install /usr/bin/java java /usr/java/latest/bin/java 99
alternatives --config java
rm /usr/lib64/mozilla/plugins/libjavaplugin.so
alternatives --install /usr/lib64/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/jdk1.6.0_14/jre/lib/amd64/libnpjp2.so 99
alternatives --config libjavaplugin.so

Restart firefox and in about:config check that
java.java_plugin_library_name is javaplugin

Works for me

Author Closing Comment

ID: 31707657

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Following on from our article on "The Murky World of Consent and opt in", we thought we would issue some helpful guidance, not only on consent itself but knowing what information you are capturing, what you are doing with this data and how you can p…
Each password manager has its own problems in dealing with certain websites and their login methods. In Part 1, I review the Top 5 Password Managers that I've found to be the best. In Part 2 we'll look at which ones co-exist together and why it'…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…
Suggested Courses

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question