A fix for Java applets not loading in Firefox
Although I’ve been running Windows 7 betas on and off periodically since the release of build 7000, it wasn’t until I used the x64 RC more extensively as my primary OS that I realized Java wouldn’t load in Firefox. Intriguingly, however, it appeared to be working just fine in both IE and Safari. I can’t say for sure how widespread the issue is, coming straight XP, however, my girlfriend’s laptop running Vista Ultimate x64 also faced the issue.
There were no manifestations of an actual error, in fact, Java applets were as blank as could be, and trying to interact with the Java console in Firefox caused the text to gray out with absolutely no result. All the while, Java’s plugin was listed in the browser’s add-ons, just as one would expect it to be.

My initial instinct sent me hunting through Firefox’s options to ensure that Java was enabled – which it was. I checked the Java control panel in Windows for any potential discrepancies, of which I found none. I naturally turned to Google as well as some Firefox and Java help documents, and came up empty handed.
Losing faith in my ability to use a search engine after a frustrating 30 minutes of seeking an explanation to what I expected would be a common issue, I dove into the programs files. Following a brief session of skimming Java file descriptions, I discovered two little gems: npjpi160_13.dll and npoji610.dll. Sharing a similar name, both are described as plugin files for the Netscape Navigator browser. Sure enough, a peak in Firefox’s plugins folder confirmed that both were missing.
The fix: Ensure that the latest copy of Java and Firefox are installed (watch out for the Yahoo! toolbar during installation). Navigate to Java’s program directory, and in the “bin” folder locate the files named “npjpi160_13.dll” and “npoji610.dll”. Copy both files and proceed to Firefox’s plugins folder, where you’ll paste them.
Assuming you’ve copied the proper files, and that this was the source of your issue, all should be well.
Armed with the file names, I was able to find potential bug recognition at bugs.sun.com/bugdatabase. If you’re still experiencing issues, visit Java’s Help Center for troubleshooting tips, and if necessary, feel free open a thread on our forum.






been having this issue on my laptop which came with 64 bit vista home premium, and now is running 64 bit windows 7. so i take it, it’s an issue for 64 bit computers. thanks for the fix!
i actually never tried to fix it or find a fix, as the only time i’ve ever needed java was while trying to upload multiple photos on facebook. and for some reason it wouldn’t work and after a few installs i just gave up and uploaded the pictures one by one. my girlfriend will be happy about this.
hopefully this will come to the attention of sun microsystems so they can fix the installer.
okan
21 May 09 at 9:19 am
@Matthew: Thanks for posting the fix for this annoyance
coldFuSion
21 May 09 at 9:37 am
You’re welcome. Hopefully it solves a lot of headaches.
Matthew DeCarlo
21 May 09 at 9:53 am
The bug you link to is actually quite old (12-MAR-2007)
According to the bug one of the causes is blamed on Mozilla’s registry entries being different from one version of its browser to another.
- BrowserJavaVersion issue root cause:
The problem with BrowserJavaVersion key is not a regression in our code, rather it is caused by changes in Mozilla’s treatments for its registries which we depended on:
So who is to blame? Mozilla for frequently changing the registry structure of their browser or Sun for failing to keep their code up to date to properly detect Firefox?
Ironically this is mentioned twice in the bug:
please NEVER do any dll copying to workaround the problem.
Presumably because the next Java update will likely fail to install/update the plugin requiring that it be manually copied again.
Your article has java not working at all so IMHO at least there IS a workaround to get it working until someone decides how to fix this bug once and for all
coldFuSion
21 May 09 at 10:40 am
Right – that two year old bug is the only faint hint of an official recognition that I was able find. It may or may not be 100% related to the current issues people like you and I have been experiencing.
And yes, periodically you probably *will* have to recopy and paste the .dll’s.
Matthew DeCarlo
21 May 09 at 11:20 am
Hi.
Tanks for a this FIX. A have this issue and you helped me ! Tanks !
Ireneusz
3 Jun 09 at 1:19 am
Matthew!! Thank you so much for this fix, it was driving me nuts to have to use IE for java – keep up the good work
Alex
7 Jun 09 at 7:58 am
Woo, it works! This is very much appreciated. :)
Bonnie
9 Jun 09 at 3:44 pm
I tried all this, but the only Java applets on certain sites will load up is if I either use Firefox in full safe mode, or use IETab. Yes, I have the np*.dlls in the plugin directory, yes, the sites are whitelisted for both NoScript and AdBlock, but still won’t launch the applets.
Nowonmai
6 Jul 09 at 1:07 am
Superb!! That solved that problem on my Win 7 RC 64-bit!! Thanks!!
Clive
13 Aug 09 at 12:31 pm
Great fix, this issue is still very much present in the latest version Firefox on Windows 7 RC 64bit
It had been driving me mad!
Thanks
chris
1 Sep 09 at 2:21 pm
You’re right about the documentation – nothin’. I upgraded to Ultimate 64 bit and this problem kicked in. Fix works great, thanks!
Ben
9 Sep 09 at 9:17 pm