为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How do I enable Java in Firefox 3.6.11? (The "Enable Java" box in Preferences->Content" disappeared. I lost important functionality (IPMI console from all my servers). Thanks, gus@ldeo.columbia.edu

  • 4 个回答
  • 1179 人有此问题
  • 84 次查看
  • 最后回复者为 carmlennon

more options

Firefox 3.6.1 32 bit on an Opteron (x86_64) machine running Linux CentOS 5.2, kernel 2.6.18-92.1.22.el5 #1 SMP. I tried also the 64-bit Firefox RPM but the same problem happens.

Firefox 3.6.1 32 bit on an Opteron (x86_64) machine running Linux CentOS 5.2, kernel 2.6.18-92.1.22.el5 #1 SMP. I tried also the 64-bit Firefox RPM but the same problem happens.

被采纳的解决方案

You posted with a Firefox 3.0.15 version and in that version you still have the Edit > Preferences > Content > Java check box.

In Firefox 3.6 the Java plugin is treated just like all other plugins and no longer has a enable check box in Tools > Options > Content.
You can enable or disable all plugins including Java via Tools > Add-ons > Plugins


In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).

ln -s /usr/local/java/jre1.6.0_20/lib/i386/libnpjp2.so libnpjp2.so
ln -s /usr/lib/jvm/jre/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so (java-1_6_0-sun-plugin)
定位到答案原位置 👍 24

所有回复 (4)

more options

选择的解决方案

You posted with a Firefox 3.0.15 version and in that version you still have the Edit > Preferences > Content > Java check box.

In Firefox 3.6 the Java plugin is treated just like all other plugins and no longer has a enable check box in Tools > Options > Content.
You can enable or disable all plugins including Java via Tools > Add-ons > Plugins


In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).

ln -s /usr/local/java/jre1.6.0_20/lib/i386/libnpjp2.so libnpjp2.so
ln -s /usr/lib/jvm/jre/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so (java-1_6_0-sun-plugin)
more options

Thank you very much for sending the correct information, the right name of the *NEW* Java plugin ($JRE/lib/i386/libnpjp2.so). Everything works now: Java, my IPMI consoles, etc!

As others may face the same problem, and get also lost looking for the right information, the right link to make, I just want to point out that the "Enable and Configure" information in the JRE download page is out of date. It would be great if it were fixed. It still recommends a soft link to the *old* plugin ($JRE/plugin/i386/ns7/libjavaplugin_oji.so):

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

Many thanks again for your great help. Gus

more options

You're welcome

more options

hey, i am damn idiot and your instructions are unreadable - simple request: enable java????