HOW-TO make "the java plugin" work on Firefox in Fedora 10 / Linux Distro?

Advertisements

Digitizor

↑ Grab this Headline Animator

The basic idea behind making any plugin work on a Mozilla based browser is to have the plugin symbolically linked to the plugins directory of Mozilla or Firefox. Fedora 10 already has the Sun JRE (Java Runtime Environment) JRE 1.6.0_07 packed in the box. Now, in order to enable the java plugin on your firefox do the following steps:

1) locate the file named  libjavaplugin.so (or libjavaplugin_oji.so in some cases) on your box by issuing the following command at the prompt:

locate libjavaplugin_oji.so

you`ll find that the file libjavaplugin_oji.so is available in the /usr/java/jre1.6.0_07/plugin/i386/ directory.

2) Then what you need to do is just link the .so file symbolically to the mozilla plugins folder, and you are done:

sudo ln -s /usr/java/jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin.so

3) Restart your browser and head over to http://www.java.com/en/download/installed.jsp to verify if your plugin installed successfully or not. (Don`t worry, It will)

PS: I would recommend you to install the latest version of the Sun JRE, ie. v1.6.0_11. You may also like to read about how to get the flash plugin on Firefox to work on linux here.


Buzz This    



     Leave a Comment      Browse the Archives     


  • sireesha
    how to install java in fedora environment.please give the steps from first
  • laxman
    how to install fire fox plugins in fedora 7
  • scott
    entered locate libjavaplugin_oji.so and even locate libjavaplugin.so and got nothing. i'm a noob. so what do i do now?
  • Yes, you can!
  • No deal for me. It says already installed - there's some version of Java installed, but the locate command turns up nothing. Only module I can find is libjava.so. Can I link that file to Firefox?
  • dani3lr
    this article does not work for Fedora 10 x86_64. if you use x64, go to:
    http://fedoratux.blogspot.com/2008/12/installin...
  • nice :-)
  • RhoGhaa
    I got it to work by going through all the steps to install it, then rebooting my laptop. I know that's a MicroSloth move, but sometimes it works for the Linux too.
  • @Troy, welcome :-)
  • Troy
    Thanks for this article! I had downloaded and installed the Java 6 Update 12 RPM successfully, but couldn't get the Java applet test to succeed in Firefox. Your commands above fixed it and was the "missing piece" of the story. Thanks again!
blog comments powered by Disqus

Trackbacks