# Why doesn't Java work in Firefox for me?

**URL:** <https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304>\
**Category:** Factual Questions\
**Created:** [March 14, 2006, 1:03pm UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304 "2006-03-14T13:03:40Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![MsWhatsit](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@MsWhatsit](https://boards.straightdope.com/u/MsWhatsit)\
**Post date:** [March 14, 2006, 1:03pm UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/1 "2006-03-14T13:03:40Z")

</div>

Running Firefox 1.5.0.1 in Windows XP. Pretty much any time I load a site that has a Java application, the app simply doesn’t load. I don’t get an error message of any sort, just a blank spot on the screen where the Java app should be. Examples of sites containing applets that will not load are the NY Times crossword puzzle site (members only or I would link to it) and the Baby Name Voyager site at [http://babynamewizard.com/namevoyager/lnv0105.html](http://babynamewizard.com/namevoyager/lnv0105.html). But it’s not just those two; pretty much any time I want to run a Java app, I have to fire up IE, and it’s very annoying.

Java is enabled in the Options dialog box in Firefox; I checked. So what am I doing wrong?

---

<div class="post-metadata">

**Author:** ![crowmanyclouds](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crowmanyclouds/32/19884_2.png) [@crowmanyclouds](https://boards.straightdope.com/u/crowmanyclouds)\
**Post date:** [March 14, 2006, 2:09pm UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/2 "2006-03-14T14:09:28Z")

</div>

Try this. [How do I install Java?](http://www.mozilla.org/support/firefox/faq#plugins)

CMC fnord!

---

<div class="post-metadata">

**Author:** ![crowmanyclouds](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crowmanyclouds/32/19884_2.png) [@crowmanyclouds](https://boards.straightdope.com/u/crowmanyclouds)\
**Post date:** [March 14, 2006, 2:13pm UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/3 "2006-03-14T14:13:30Z")

</div>

To be exact, [install Java using XPInstall.](http://www.java.com/en/download/manual.jsp)

---

<div class="post-metadata">

**Author:** ![MsWhatsit](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@MsWhatsit](https://boards.straightdope.com/u/MsWhatsit)\
**Post date:** [March 14, 2006, 5:45pm UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/4 "2006-03-14T17:45:59Z")

</div>

OK, I did that, and there was a slight improvement in that now I see an “applet loading” screen while the applet is loading, but then the screen just goes blank again, just as before. Any additional thoughts?

---

<div class="post-metadata">

**Author:** ![crowmanyclouds](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crowmanyclouds/32/19884_2.png) [@crowmanyclouds](https://boards.straightdope.com/u/crowmanyclouds)\
**Post date:** [March 14, 2006, 6:27pm UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/5 "2006-03-14T18:27:51Z")

</div>

Now, ya got me stumped.

---

<div class="post-metadata">

**Author:** ![crowmanyclouds](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/crowmanyclouds/32/19884_2.png) [@crowmanyclouds](https://boards.straightdope.com/u/crowmanyclouds)\
**Post date:** [March 14, 2006, 6:39pm UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/6 "2006-03-14T18:39:58Z")

</div>

Did you close and restart Firefox (I’d even do a system restart)?  
Because,

> [@](#):
>
> [VERIFY YOUR JAVA SOFTWARE INSTALLATION](http://www.java.com/en/download/installed.jsp)  
> If you have recently completed your Java software installation, please ensure that you have completed the steps detailed in the installation instructions, including (closing and re-opening) your BROWSER before testing your installation.  
> Failure to do so, may result in a test failure or invalid data.

---

<div class="post-metadata">

**Author:** ![MsWhatsit](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@MsWhatsit](https://boards.straightdope.com/u/MsWhatsit)\
**Post date:** [March 14, 2006, 6:56pm UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/7 "2006-03-14T18:56:27Z")

</div>

Yeah, I restarted the browser and then restarted the entire system, and still no dice. Java fires up, the applet starts to load, and then… blank screen. Sigh. Thanks for the help, though.

---

<div class="post-metadata">

**Author:** ![Rysto](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@Rysto](https://boards.straightdope.com/u/Rysto)\
**Post date:** [March 14, 2006, 8:31pm UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/8 "2006-03-14T20:31:11Z")

</div>

Does a Java icon appear in your Windows system tray(next to the clock somewhere)? The icon will look like this: [http://java.com/im/logo\_scurvejava.gif](http://java.com/im/logo_scurvejava.gif) . If so, right click the icon and click on “Open Console”. Are there any error messages?

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [March 14, 2006, 8:55pm UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/9 "2006-03-14T20:55:43Z")

</div>

Something to watch out for that will give these same symptoms is a Java app written for Microsoft’s version of Java. They altered the JVM and people wrote code specifically for it (we have an app like this here at work), which means you must use the MS JVM to allow the program to run.

At work I switch the setting in my browser back and forth to select the MS JVM or the Sun JVM (I have both installed), depending on which app is being run.

---

<div class="post-metadata">

**Author:** ![Rysto](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@Rysto](https://boards.straightdope.com/u/Rysto)\
**Post date:** [March 14, 2006, 9:07pm UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/10 "2006-03-14T21:07:43Z")

</div>

> [@RaftPeople](#):
>
> Something to watch out for that will give these same symptoms is a Java app written for Microsoft’s version of Java. They altered the JVM and people wrote code specifically for it (we have an app like this here at work), which means you must use the MS JVM to allow the program to run.
> 
> At work I switch the setting in my browser back and forth to select the MS JVM or the Sun JVM (I have both installed), depending on which app is being run.

I doubt that’s the problem, given that J++ was discontinued more than 5 years ago.

---

<div class="post-metadata">

**Author:** ![GusNSpot](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/gusnspot/32/436_2.png) [@GusNSpot](https://boards.straightdope.com/u/GusNSpot)\
**Post date:** [March 14, 2006, 9:11pm UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/11 "2006-03-14T21:11:17Z")

</div>

I have the same problem on 98se. Can’t get any site to play java on Firefox. Grrrrr

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [March 15, 2006, 1:15am UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/12 "2006-03-15T01:15:28Z")

</div>

> [@Rysto](#):
>
> I doubt that’s the problem, given that J++ was discontinued more than 5 years ago.

I’m not talking about J++ (which was an IDE), I’m talking about the MS JVM.  
For those not familiar with the dispute between Sun and Microsoft and the JVM, here is an excerpt from the following article:

[http://www.javaworld.com/javaworld/jw-10-1998/jw-10-lawsuit.html](http://www.javaworld.com/javaworld/jw-10-1998/jw-10-lawsuit.html)

"The two keywords Microsoft added to its Java language implementation are:  
multicast  
delegate

The three compiler directives under discussion were:  
@dll  
@com  
@security

Gosling and Sun argued that these Microsoft-specific keywords and directives result in incompatible Java bytecodes, which in turn **generate exceptions on any non-Microsoft JVM**. Gosling held that this violates the Java Language Specification (JLS) requirement that a compliant JVM must compute the same result for the same Java code as the reference JVM, Sun’s JVM. Gosling also testified that the addition of the compiler directives violates the JVM Specification (see resources for online versions of both specifications) by resulting in previously undefined attributes which affect the semantics of the containing class files. "

---

<div class="post-metadata">

**Author:** ![Rysto](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@Rysto](https://boards.straightdope.com/u/Rysto)\
**Post date:** [March 15, 2006, 1:51am UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/13 "2006-03-15T01:51:34Z")

</div>

By J++, I meant the MS-specific Java extensions. AFAIK, after the suit was settled the Microsoft was not allowed to distribute their JVM.

---

<div class="post-metadata">

**Author:** ![RaftPeople](https://avatars.discourse-cdn.com/v4/letter/r/6f9a4e/32.png) [@RaftPeople](https://boards.straightdope.com/u/RaftPeople)\
**Post date:** [March 15, 2006, 5:26am UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/14 "2006-03-15T05:26:45Z")

</div>

> [@Rysto](#):
>
> By J++, I meant the MS-specific Java extensions. AFAIK, after the suit was settled the Microsoft was not allowed to distribute their JVM.

[http://www.microsoft.com/mscorp/java/](http://www.microsoft.com/mscorp/java/)

“Recognizing the need to provide a smooth transition for current users of the Microsoft® Java Virtual Machine (MSJVM), Sun Microsystems and Microsoft have agreed to extend Microsoft’s license to use Sun’s Java source code and compatibility test suites. This extension allows Microsoft to support the MSJVM until December 31, 2007, providing customers with the ability to transition from the MSJVM on a schedule and plan that is most effective for them.”

The suit was finally settled in 2004. Sun allowed MS to continue supporting the MSJVM (for a small fee of $700million).

Microsoft was willing to pay because people coded their apps for the extensions MS made to the JVM.

This is why apps written for the MSJVM do not always work when the user has installed and is configured to use one of the standard JVM’s from Sun, IBM, BEA etc.

---

<div class="post-metadata">

**Author:** ![MsWhatsit](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@MsWhatsit](https://boards.straightdope.com/u/MsWhatsit)\
**Post date:** [March 15, 2006, 11:49am UTC](https://boards.straightdope.com/t/why-doesnt-java-work-in-firefox-for-me/348304/15 "2006-03-15T11:49:42Z")

</div>

Okay, for absolutely no reason that I can discern, Java is now working. I suspect it had something to do with the reinstall I did yesterday, although why it didn’t work after I rebooted yesterday, but is working now, I have no idea. Thanks to everybody for all the help.
