搜尋 Mozilla 技術支援網站

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

了解更多

Hi I am trying to get a working version of Java but Firefox keeps blocking it.

more options

I'm trying to view websites that use Java but Firefox keeps blocking it. I go into addons and try to allow but everything is grey and will not let me. Is there a way to udate and use the latest Java or should I be going with a different browser now?

I'm trying to view websites that use Java but Firefox keeps blocking it. I go into addons and try to allow but everything is grey and will not let me. Is there a way to udate and use the latest Java or should I be going with a different browser now?

被選擇的解決方法

If you are satisfied with that "solution", that's fine, but if the current version of Java failed to appear on the Add-ons page, there may be a number of reasons for that.

(1) You may need to install the 32-bit version for Firefox; it cannot use the 64-bit version. Oracle has more info on this in their support article: Which Java download should I choose for my 64-bit Windows operating system?

(2) The installer may have failed. You can check for the physical presence of the plugin DLL here:

C:\Program Files (x86)\Java\jre1.8.0_60\bin\plugin2\npjp2.dll

If that folder/file does not exist, the installation failed. Please try the installation again.

(3) Firefox may not be scanning the registry for plugins. Firefox finds most plugins from a registry entry. Some users have the scanning turned off for some reason. Here's how to check and fix that:

(A) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(B) In the search box above the list, type or paste scan and pause while the list is filtered

(C) If plugin.scan.plid.all is not set to its default value of true, double-click it to toggle it back to the default.

If you changed this setting, exit and restart Firefox to trigger another scan.

If you check the Add-ons page, Plugins section again, can you find the current Java plugin there and enable it?

(4) Firefox's plugin registry file may be corrupted. You can remove it and have Firefox re-scan for plugins.

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • Help menu > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Show Folder" button to launch a new Windows Explorer window showing your settings files.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • File menu > Exit

Pause while Firefox finishes its cleanup, then rename pluginreg.dat to something like pluginreg.old

Start Firefox back up again. (If you want to restore your previous non-private session, use History > Restore Previous Session.)

When you return to the Add-ons page, is the current Java plugin finally listed there?

從原來的回覆中察看解決方案 👍 0

所有回覆 (3)

more options

So Have you tried Plug-in check ? you can direct update your plugins from here. I have found a thread from oracle site about Why Firefox blocks some java plugins ,which will answer your question I guess. and Something like this Firefox showign outdated plugin then do as per steps suggested .

more options

I tried all tha before I posted this. Solved it anyway, switched over to IE and it works perfectly fine.

more options

選擇的解決方法

If you are satisfied with that "solution", that's fine, but if the current version of Java failed to appear on the Add-ons page, there may be a number of reasons for that.

(1) You may need to install the 32-bit version for Firefox; it cannot use the 64-bit version. Oracle has more info on this in their support article: Which Java download should I choose for my 64-bit Windows operating system?

(2) The installer may have failed. You can check for the physical presence of the plugin DLL here:

C:\Program Files (x86)\Java\jre1.8.0_60\bin\plugin2\npjp2.dll

If that folder/file does not exist, the installation failed. Please try the installation again.

(3) Firefox may not be scanning the registry for plugins. Firefox finds most plugins from a registry entry. Some users have the scanning turned off for some reason. Here's how to check and fix that:

(A) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(B) In the search box above the list, type or paste scan and pause while the list is filtered

(C) If plugin.scan.plid.all is not set to its default value of true, double-click it to toggle it back to the default.

If you changed this setting, exit and restart Firefox to trigger another scan.

If you check the Add-ons page, Plugins section again, can you find the current Java plugin there and enable it?

(4) Firefox's plugin registry file may be corrupted. You can remove it and have Firefox re-scan for plugins.

Open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" button > Troubleshooting Information
  • Help menu > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, click the "Show Folder" button to launch a new Windows Explorer window showing your settings files.

Leaving that window open, switch back to Firefox and Exit, either:

  • "3-bar" menu button > "power" button
  • File menu > Exit

Pause while Firefox finishes its cleanup, then rename pluginreg.dat to something like pluginreg.old

Start Firefox back up again. (If you want to restore your previous non-private session, use History > Restore Previous Session.)

When you return to the Add-ons page, is the current Java plugin finally listed there?