I tried the following code,
It works fine with both IE and Firefox when only JRE 1.5.0_22 is installed. When I installed both JRE 1.5.0_22 and 1.6.0_20, I expected the 'version' argument to kick in and load the applet in JRE 1.5, instead I got the following message in my
java console,
java.lang.ClassNotFoundException: ButtonMoveApplet.class
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassNotFoundException: ButtonMoveApplet.class
I tried clearing the local JVM cache and tried the same in different combinations of JRE 1.5 and 1.6, still the same problem. Does anybody know why.. Thanks in advance.