This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I recreate the Java plug-in that I deleted after I uninstalled my old version of Java?

more options

I used to have 2 plug-ins for Java. Now I only have 1, the Java Deployment Toolkit, which was blocked by Firefox. I deleted the other, somehow, as part of my uninstalling of my old version of Java. After I installed the latest version of Java, I expected that the deleted plug-in would reappear and that it would have the latest version information. This did not occur. One of my favorite websites no longer works correctly. My current version of Java is the Standard Edition, Version 7, Update 45 (build 1.7.0_45-b18). Please help me recreate the plug-in and/or (re)install the appropriate version of Java. Thank you.

I used to have 2 plug-ins for Java. Now I only have 1, the Java Deployment Toolkit, which was blocked by Firefox. I deleted the other, somehow, as part of my uninstalling of my old version of Java. After I installed the latest version of Java, I expected that the deleted plug-in would reappear and that it would have the latest version information. This did not occur. One of my favorite websites no longer works correctly. My current version of Java is the Standard Edition, Version 7, Update 45 (build 1.7.0_45-b18). Please help me recreate the plug-in and/or (re)install the appropriate version of Java. Thank you.

All Replies (5)

more options

Could you check that you have the DLL in the expected location:

C:\Program Files (x86)\Java\jre7\bin\plugin2\ => npjp2.dll

If the standard installer isn't getting that file where it should be, you can try the "offline" installer (large download). Make sure to grab the 32-bit installer, since Firefox only uses 32-bit plugins.

http://www.java.com/en/download/manual.jsp

more options

Make sure that you have installed the 32 bit Java version.

more options

The npjp2.dll file did exist in the path that you said that it should. I deleted the java folder. Then, I used the offline installer and selected the 32-bit version. It ran successfully. However, I could not verify the Java version in Firefox. In the control panel, the Java application is not found.

more options

Initially, I used Revo Uninstaller to remove the "old" version of Java, as recommended by Firefox (the removal, not Revo). I have used this software for a couple of years with various products with no problems. It would be more accurate to say that Oracle (not Firefox) recommended removing the old version prior to installing the new one.

mfdinosaur moo ko soppali ci

more options

Hmmm, it's strange that Java isn't in the Control Panel. When you view by Categories, it's usually in Programs as Java (32-bit).

But my question was just whether the DLL file is in its customary location. Is it back there again now?

Assuming so, could you step through a few different checks:

(1) Add-ons page — disabled plugins

Check to make sure Java(TM) Platform SE 7 is not set to "Never Activate" because that disables the plugin and hides it from websites.

Either:

  • Ctrl+Shift+a
  • orange Firefox button (or Tools menu) > Add-ons

In the left column, click Plugins. Check the grayed out area at the bottom.

If there's no sign of it on the Add-ons page...

(2) Confirm that Firefox is scanning the registry for plugins

Firefox finds the Java plugin from a registry entry. Some users have the scanning turned off for some reason. Here's how to check and fix that:

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

(2) In the filter box, type or paste scan and pause while the list is filtered

(3) 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 again, success?

If Firefox is set to scan but still does not find Java and list it on the Add-ons page...

(3) Remove Firefox's plugin registry file

Sometimes the pluginreg.dat file becomes corrupted. You can remove it and have Firefox re-scan for plugins. As a side effect, any plugins you have disabled on the Add-ons page probably will be re-enabled, so you'll need to go back to that page one more time.

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

Help > Troubleshooting Information > "Show Folder" button

Leaving that window open, switch back to Firefox and Exit (either Firefox button > Exit or File menu > Exit)

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

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

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