Java 小程序无法在 IE8 上运行
当我在 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 的安全设置,但我认为它们是正确的。
有什么想法吗?
谢谢
When I run an applet in Firefox it works but not in internet explorer 8 (but it works in IE7)
Java version in use is 6, update 18 (1.6.0_18)
Output of JVM in Firefox is:
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
Output of JVM in IE8 is:
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
Note that in IE8 the last line is "Told clients applet is started" while in Firefox is "Finished applet teardown".
I also checked the security settings of IE8 but I think they are correct.
Any idea?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
IE 8 没有问题。它应该可以工作。
根据 java 控制台/jvm 消息,您的小程序正在运行。
java应该是兼容的==>建议您的浏览器java插件版本应等于或高于用于编译您的applet的java编译器的版本。
将一些 SoP 语句放入您的小程序中并再次检查。
* 下面是在 FF 和 FF 中运行小程序时的 Java 控制台消息示例。 IE 浏览器 *
java 控制台消息如下所示(FF 4 和 FF 3.x)
*** ****** 在 IE 8 中 ****** **
It is nothing wrong with IE 8. It should be working.
As per the java console/jvm messages, your applet is running.
The java should be compatable==> it is recommended that your browser java plug-in version should be same or higher than the version of the java compiler used to compile your applet.
Put some S.o.P statements in your applet and check again.
* below is sample java console messages when you run applet in FF & IE browsers *
The java console message looks like below (FF 4 and FF 3.x)
********* In IE 8 ********
对于 Windows
打开控制面板->然后点击JAVA
检查是否有任何更新可用,如果则更新
现在转到JAVA部分你看到这里
有一个java小程序运行时设置
并写道
当小程序在浏览器中执行时使用运行时设置
选择“查看”并确保路径正确...
最后打开“Internet 选项”转到“高级”选项卡:然后选择“使用 jRE for Applet”
就这样
希望这有帮助
For Windows
open Control Panel -> then click on JAVA
Check If Any Updates Are available Or Not if then Update
now Go to the JAVA section You see here
there is a java applet runtime setting
and written that
Runtime setting are used when applet executed in the browser
select on View And Just make sure the path is proper...
Finally Open Internet Options Go to Advanced Tab : And Select Use jRE for Applet
that's it
hope this helps