Skip to main content

Fix Java in Firefox on 64-bit Windows 7 or Vista

Note: This post was originally written for Windows Vista 64-bit and Firefox 3. It still applies to Windows 7 64-bit and Firefox 3.5.

I recently installed Windows Vista Business 64-bit, then installed the 32-bit version of the Java Runtime Environment (JRE), and was amazed to find that it didn't work in Firefox 3. All I got was a blank space where the applet should have loaded.

Because there's no official 64-bit version of Firefox 3, I'm running the standard 32-bit edition (it works fine on 64-bit Windows). So, I need the 32-bit version of the Java RE. Here's how to make it work:
  1. Copy the following files from C:\Program Files (x86)\Java\jre6\bin\ to C:\Program Files (x86)\Mozilla Firefox\plugins:
    • npjpi160_11.dll (last 2 digits are the update version)
    • npoji610.dll,
    • npt.dll
  2. Open the Java test page to verify that it works.
Each time Java or Firefox updates to a new version, you'll have to copy the latest files from C:\Program Files (x86)\Java\jre6\bin\ to C:\Program Files (x86)\Mozilla Firefox\plugins.

If you haven't yet installed Java, or the steps above don't work, try this:
  1. Uninstall any existing version of Java from Control Panel, Programs and Features.
  2. Delete any Java plugins from C:\Program Files (x86)\Mozilla Firefox\plugins. These are usually named np*.dll, but you can check which ones are Java-related by checking the file properties.
  3. Download the latest version of Java from Sun (or download the offline Java installer) At the moment, this is Java 6 Update 11.
  4. Try the first set of steps above.


Anonymous said…
Thanks for putting this out there. Helped fix a problem I had running 32-bit Java+Firefox on 64-bit Windows 7.
warnerchad said…
You're welcome! That's the reason I put technical posts on this blog; to spare others from the trouble I endured.
Sami Näätänen said…
Well I simply skipped to the copying part, as I only had installed the latest Java. This seamed to be enough.
Tony said…
Beautiful! It is incredible how much speculation and misinformation is out there about this problem! It all boils down to the fact that the Java installer does not copy the three necessary files to the Firefox plug-ins directory! Thanks a million for figuring this out and posting it.
Anonymous said…
thanks it worked!
lucky644 said…
Thank you, this worked perfectly!
Anonymous said…
Anonymous said…
Thanks a lot. It's ridiculous that this problem still exists. Every time Java updates itself it seems to break in FFX again.
Anonymous said…
Thanks a ton, wish I'd found your post sooner.
Jon said…
I wish I had found your post 3 days ago! Java had worked fine for me on my new Vista64 machine with Firefox3, then Java decided to update itself... Thanks again, worked like a charm.
Ryster said…
Thanks also, I was pulling my hair our trying to figure out why this wasnt working. I reinstalled Java several times, as well as Firefox. In the end I did some google searching in desperation and found your blog post. Thanks! Annoying that Sun haven't fixed this blatant bug yet.
cbdoc said…
Thanks very much for the great and concise guide - Firefox works under W7-64 now!

Tim said…
Much appreciated mate. I must have trawled 20 pages all telling me the wrong info before I found this.
Dead said…
Oh wow finally!! Thank you bro this worked great, I was googling trying to find a solution to this and finally found one. Thanks again!
Mattias said…
Thanks a million! So easy and yet so difficult if you're not an expert.
This is a perfect example of how the free internet community should work!
Anonymous said…
Thanks, worked great with update 13
Anonymous said…
I've posted this issue in the JAVA forums and we'll see their reply. (i.e. How to permanently fix, but it's really annoying)
Ceeej said…
Had this problem today with Win7 Ultimate 32bit as well, copying the three files fixed it.
Anonymous said…
Thank you
Anonymous said…
this does work any more
elsheyatea said…
After I read your Great Solution found that Java site for firefox Java with extention xpi :

Popular posts from this blog

The difference between burritos, chimichangas, and enchiladas

I love Mexican food, but I'm embarrassed to admit that I always get confused between burritos, wet burritos, chimichangas, and enchiladas. Here are the descriptions, with the differences in bold and pictures following each description.

A flour tortilla wrapped around a filling (meat, beans, vegetables, etc)

wet burrito
A burrito that's covered in red chili sauce and cheese. Because of the sauce covering, it looks like an enchilada, but it's made with a flour tortilla, whereas the enchilada is made with a corn tortilla.

A burrito that's deep-fried. Sometimes covered with cheese or another topping.

A corn tortilla wrapped around a filling, covered with chili pepper sauce

Wikipedia: BurritoWikipedia: ChimichangaWikipedia: Enchilada

Edit scanned documents with Word 2007

Office 2007 includes support for converting scanned documents to editable text using OCR (optical character recognition). To get your text from a paper document to Word 2007:
In the Control Panel, open Add or Remove Programs.Find Microsoft Office, click it, and click Change.In the Office Installation Options window, expand Office Tools, click Microsoft Office Document Imaging, and select Run from My Computer from the dropdown.Click Continue or Next until you reach the end.You can now scan documents and convert the scanned images to editable text:
From the Start Menu, find Microsoft Office, then select Microsoft Office Tools, then click Microsoft Office Document Scanning.Choose your preset and options, then click Scan.The scanned image should open in Microsoft Office Document Imaging. To perform OCR and open the editable text in Word, click Tools, Send Text to Word.You can now edit and save the scanned document as a Word document.

My LASIK laser eye surgery experience

Yesterday was a turning point in my life; I had laser eye surgery (LASIK)! Here's a brief summary of my experience.

When I was 16, I barely passed the eye exam at the DMV, so they told me I had to see my eye doctor. Being a self-conscious geek, I opted for contacts over the stereotypical glasses. Although they were fine for most of the day, my contacts always dried out around 8 or 9 PM. My friends will tell you they got sick of my complaints that "my eyes feel like corks!" and "these contacts feel like sandpaper!"

Over the years, I've tried more than 10 different types of contacts, including extended wear, overnight wear, and high-moisture contacts. For a while, I even had contacts with bright blue artificial irises to cover my natural grayish ones. I got a lot of compliments, but they didn't help with the dryness.

I decided to put an end to the suffering this year. LASIK isn't cheap; reputable surgeons charge about $2000 per eye. It hurt to max out my…