These days were hard nightmare of debugging. The problem is that a Java Applet runs in Mozilla, but it doesn’t run in Internet Explorer.
I passes consecutively through these steps:
1) Test my current Java version on computer from here.
Finally I run my problematic webpage on Internet Explorer and look at the view source (with right click mouse –> open context menu –> select “View Page Source”). In the html source I saw that I have 2 tags (“object” and “embed”) which do the same work related to my applet. After that I found the root the problem: it was incorrect value of “classid”-attribute of “object”-tag. You can read a great article about how and when to use the
embed tags to add Java applets to Web pages here. You can read another good article here.
Here is the section which I needed it:
You use the
object tag to deploy applets that are to be used only with Internet Explorer.
Following is an example of the
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="200" height="200"> <PARAM name="code" value="Applet1.class"> </OBJECT>
The classid Attribute
classid attribute identifies which version of Java Plug-in to use.
The example shown below is the most commonly used form of the
classid attribute. This example instructs Internet Explorer to use the latest installed version of Java Plug-in.
Following is an alternative form of the
In this form, “xxxx”, “yyyy”, and “zzzz” are four-digit numbers that identify the specific version of Java Plug-in to be used.
For example, to use Java Plug-in version
1.5.0, you specify: