gpt4 book ai didi

Java 小程序无法在 IE8 上运行

转载 作者:行者123 更新时间:2023-12-01 15:58:39 31 4
gpt4 key购买 nike

当我在 Firefox 中运行小程序时,它可以工作,但不能在 Internet Explorer 8 中运行(但可以在 IE7 中运行)

使用的Java版本是6,更新18(1.6.0_18)

Firefox 中 JVM 的输出是:

URL sin parametro: http://..../..../AppJava/
Parametro añadido a la URL codificado en UTF-8: ...IHgzC...
basic: Applet initialized
basic: Receptor de progreso suprimido: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@1dd7056
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
basic: Starting applet teardown
basic: Finished applet teardown

IE8 中 JVM 的输出是:

URL sin parametro: http://......./...../AppJava/
Parametro añadido a la URL codificado en UTF-8: ...IHgzCC.....
basic: Applet initialized
basic: Receptor de progreso suprimido: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@e86da0
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started

请注意,在 IE8 中,最后一行是“告诉客户端小程序已启动”,而在 Firefox 中是“已完成小程序拆卸”。

我还检查了 IE8 的安全设置,但我认为它们是正确的。

有什么想法吗?

谢谢

最佳答案

IE 8 没有任何问题。它应该可以工作。根据 java 控制台/jvm 消息,您的小程序正在运行。

java应该兼容==>建议您的浏览器java插件版本应该与编译小程序时使用的java编译器版本相同或更高。

将一些 S.o.P 语句放入您的小程序中并再次检查。

* 下面是在 FF 和 IE 浏览器中运行小程序时的 Java 控制台消息示例 *

java 控制台消息如下所示(FF 4 和 FF 3.x)

basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 125583 us, pluginInit dt 1492613 us, TotalTime: 1618196 us
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@1f14ceb
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Finished applet teardown

********* 在 IE 8 中 ********

basic: Applet loaded.                               
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 177363 us, pluginInit dt 390916 us, TotalTime: 568279 us
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@116471f
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
<小时/>

关于Java 小程序无法在 IE8 上运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4470459/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com