為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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 有這個問題
  • 1 次檢視
  • 最近回覆由 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

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