Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Fire Fox 4 not displaying Java Applet on Mac

  • 3 个回答
  • 133 人有此问题
  • 1 次查看
  • 最后回复者为 mbellish

more options

My company has a Java Applet that we are trying to load with Fire Fox 4 on a Mac Snow Lepard using jre 1.6.0_24. When using a JNLP file to deliver the applet the applet downloads but does not appear on the screen. You can actually mouse over some of the applet icon's, if you know where they are, and the tool tip will appear but the icons and the applet itself do not appear. This worked on previous versions of fire fox. It also works in the same environment but with Safari. It also works with FireFox 4 on a pc with jre 1.6.0_24. Just not a Mac FireFox 4.

My company has a Java Applet that we are trying to load with Fire Fox 4 on a Mac Snow Lepard using jre 1.6.0_24. When using a JNLP file to deliver the applet the applet downloads but does not appear on the screen. You can actually mouse over some of the applet icon's, if you know where they are, and the tool tip will appear but the icons and the applet itself do not appear. This worked on previous versions of fire fox. It also works in the same environment but with Safari. It also works with FireFox 4 on a pc with jre 1.6.0_24. Just not a Mac FireFox 4.

所有回复 (3)

more options

We have been seeing a similar problem. However, we also see it intermittently but not repeatably on Windows XP, using Java 1.6.0_24 and Firefox 4: sometimes everything works fine, but sometimes the applet completely fails to draw. Our applet is supplied in JAR format.

I'm not sure how much detail to add here and how much should perhaps go in a bug report, but in case it's useful to anyone: when the failure happens on the Mac, we have reports of a run time error about failing to cast a sun.plugin.dom.html.HTMLElement to an org.w3c.dom.html.HTMLAppletElement (note the different packages). The former came back from an HTMLDocument.getElementById call passing in the ID of an <applet> element, which should be returning an object from the org.w3c.dom package but by the looks of things might not be in this case.

由CrystallineSoftware于修改

more options

We are having a similar problem at Tropical Fish Forum -- No Java Bubbles Appearing.

There should be an animation of water filling up right above where it says "Tropical Fish Forum" in large white letters, followed by different-sized bubbles coming up from those same three white words.

This same problem occurs on the latest version of Safari for Snow Leopard as well, although the applet works fine with Google Chrome, Opera and Omniweb on Snow Leopard.

more options

I found a few solutions that work for me. When creating the object tag do not include a JNLP. Another option would be to, if you have a JNLP then set the separate_jvm parameter value = false <param id="separate_jvm" name="separate_jvm" value="false"/>. We have found that these two do not play well together especially when mac has a 1.6 version of the JRE installed. If you are counting on the JNLP to set a max memory size try using the parameter java_arguments parameter '<param name="java_arguments" value="-Xmx512m">', if you want to not use a JNLP but still want to launch your applet in a separate JVM. I have found that these solutions work for firefox and safari on Mac Leopard, Snow Leopard, and the soon to be released Lion