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.
Sources

Comments

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…
thanks!
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!

Cheers.
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)

http://forums.sun.com/thread.jspa?messageID=10726832&#10726832
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 : https://www.java.com/en/download/help/firefox_online_install.xml#download

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.

burrito
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.


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


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


Sources
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.

Considering retiring this blog

I'm seriously considering retiring this blog. When I started it in 2008, it was a place for me to share thoughts and links on a variety of topics. For at least the last year, however, it's just been a place where I re-post book reviews from Goodreads.

You can see all my book reviews on my Goodreads profile, and subscribe to my Goodreads RSS feed to be notified of new reviews. I also intend to keep blogging about WordPress, web design, and web-related topics on my OptimWise blog, which also has an RSS feed.

Would you miss this blog if I discontinued it? Please leave a comment.