开发者

Java applet doesn't works on 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 initia开发者_运维知识库lized
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


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)

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

********* In 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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜