Ulf Dittmer wrote:Welcome to JavaRanch.
These days, you should use the <applet> tag, not "object" or "embed".
What does "not able to run" mean? Are there any messages in the browser status bar, or -more importantly- in the Java Console?
For which JDK version is the applet compiled?
Hi Ulf Ditmer ,
with the applet tag, in the old computers a blank screen appear in the place of the applet; in some cases the java logo doesn't appear at all, when it does appear the console then says the class file is not found.
where as in the new computers all the applets load without any problem.
sample:
works on all new computer ; browser "FF, O, IE, Safari":
<applet code="Myapplet.class" width="860" height="600"> </applet>
only work on new computer, Only work on IE :
<object classid="clsid:CAFEEFAC-0015-0000-0000-ABCDEFFEDCBA" width="1000" align="center" height="85">
<param name="code" value="MyApplet.class" />
<comment>
<embed code="MyApplet.class" name="MyAppletFF" java_codebase="/html_base/" type="application/x-java-applet;version=1.5.0" pluginspage="http://java.sun.com/j2se/1.5.0/download.html">
<noembed> No Java Support. </noembed>
</embed>
</comment>
From what you've told me I will use the applet tag, but I am still unable to load my applet on old computers.
That's the jdk version used to compile:
JDK 6 (1.6.0.11.3)
jdk-6u7-windows-x64
Thanks for the prompt response and your assistance.