Java update breaks the appletJava update breaks the appletI've just updated to "1.6.0-oem" and the applet no longer works:
Exception: java.lang.NoClassDefFoundError: jfileupload/upload/client/MApplet Please advise. Re: Java update breaks the appletDid you try to clean both Java and browser cache ?
Re: Java update breaks the appletYes.
It seems that only my applet stopped working, your demo works fine. Do you know what might cause the error? Re: Java update breaks the appletIt seems that your demo breaks as well, but not the simple demo, but the JavaScript API version. I get the exact same error. I am also using the JSAPI plugin, so I guess that's where the problem is.
Re: Java update breaks the appletYou're using 1.6.0-oem or 1.6.0_17 ?
Re: Java update breaks the appletI am now using "1.6.0_17" but it fails with both versions.
Re: Java update breaks the appletOk, I've 1.6.0_11 and it works fine. I'm going to update to 1.6.0_17 to see what's wrong.
Also, it seems that such issue occurs since 1.6.0_15 according to SUN bug database: http://bugs.sun.com/bugdatabase/view_bu ... id=6888527 http://bugs.sun.com/bugdatabase/view_bu ... id=6888528 Know workarounds are: 1. The latest Java version installed on the computer where the applet is used should not be newer than 1.6.0_14 2. On the computer where the applet is used the Next Generation Java Plugin should be disabled. It can be made by switching the corresponding checkbox to off in the Java Control Panel's Advanced tab in the "Java Plugin" section. Both of these workarounds need administrator privileges on the computer. BTW: Where did you get the -oem version ? Re: Java update breaks the appletFrom the Java automatic update. First time I installed the update it was the "-oem" version. I've uninstalled the update as it was breaking the applet. When I updated again it got the "_17" version. Re: Java update breaks the appletCan you check if workaround #2 works for you ?
Re: Java update breaks the appletIt seems that the problem is also related to Java's cache system. I had it disabled on my computer, to make sure I always get the updated applet loaded in my browser.
If I enable it, the problem goes away. This also explains why my users didn't complained yet, as most of them have the default Java settings. With the Java cache disabled, disabling also the "next generation java plugin" seems to work. So, it works either with the two settings on, or with both off. |