Click to See Complete Forum and Search --> : 'Applet notinited' ~ what is that?


John B Moss
07-05-2003, 01:10 PM
Within the index.html page on http://www.theOnlineWriter.com, I have the following applet:

<applet code="Clock2.class" codebase="../" align="baseline" width="275" height="30">
<param name="FontFamily" value="Courier">
<param name="FontSize" value="18">
<param name="DateFmt" value="%c">
<param name="BGCol" value="FFFFFF">
</applet>

From the above, when I right-click and view the Java Console, I get:

java.lang.VerifyError: (class: Clock2, method: formatDate signature: (Ljava/lang/String;Ljava/util/Date;)Ljava/lang/String;) Unsorted lookup switch

at java.lang.Class.getDeclaredConstructors0(Native Method)

at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)

at java.lang.Class.getConstructor0(Unknown Source)

at java.lang.Class.newInstance0(Unknown Source)

at java.lang.Class.newInstance(Unknown Source)

at sun.applet.AppletPanel.createApplet(Unknown Source)

at sun.plugin.AppletViewer.createApplet(Unknown Source)

at sun.applet.AppletPanel.runLoader(Unknown Source)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)


What causes the code to fail with "Applet notinited" on MSIE-6.0, and why does it work in Netscape-4.7?

gil davis
07-05-2003, 03:14 PM
This is not a JavaScript problem. You should try posting on a Java forum.

Likely you do not have the Microsoft Java Virtual Machine for Internet Explorer installed correctly.

John B Moss
07-05-2003, 04:45 PM
You're probably right, Gil ~ I simply installed MSIE~6.0, and if I don't have the Microsoft Java Virtual Machine for Internet Explorer installed correctly it's because I didn't know there was something else I needed to do. What do others do, when they install MSIE and it 'doesn't work'? Seems hard to believe that this is a 'trial by experience' install requirement ~ or am I out of touch with the Microsoft reality? Probably...

gil davis
07-05-2003, 06:25 PM
There is a definite difference between newer DOM compliant browsers and NS 4. The Sun/Microsoft Java wars created quite a stir. It would not surprise me to find out that the browser/java interface has been changed so much that something in the class file is now incompatible.

On one of my computers, I can't get it to work in either IE 5.5 or NS 7. But on another one, IE 5.5 works fine. The difference between the first computer and the second computer, is that I installed IE 6 and after it didn't work at all, I uninstalled it and put IE 5.5 back on.

Thanks, Micro$oft.

Jheroen
06-09-2004, 03:44 AM
see my sig :-)