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

By on January 5th, 2009     

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.




         Submit to Reddit     Stumble


Related Posts by Tags: , , , ,



  • 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!

  • http://digitizor.wordpress.com dkd903

    @Troy, welcome :-)

  • 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.

  • http://www.drupaler.co.uk Greg

    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?

  • scott

    entered locate libjavaplugin_oji.so and even locate libjavaplugin.so and got nothing. i’m a noob. so what do i do now?

  • laxman

    how to install fire fox plugins in fedora 7

  • sireesha

    how to install java in fedora environment.please give the steps from first

  • Taras-lao
  • http://digitizor.wordpress.com dkd903

    nice :-)

  • dani3lr

    this article does not work for Fedora 10 x86_64. if you use x64, go to:
    http://fedoratux.blogspot.com/2008/12/installing-sun-java-64-bit-plugin-in.html

  • http://digitizor.com The Digitizor

    Yes, you can!



HOW-TO make “the java plugin” work on Firefox in Fedora 10 / Linux Distro? was originally published on Digitizor.com on January 5, 2009 - 8:05 am (Indian Standard Time)