I've written an applet inside a signed JAR (needs a lot of OS interaction) which works perfectly in Java 1.4.2, which it's also written in.
However, when I try it with different Java versions (1.4.1 and 1.5 are tested) I get the following error:The class is com.hecc.ivr.viewer.ViewerApplet. I haven't used any special Manifest to create the JAR, which is signed using a local keytool.
The HTML code:This installs Java 1.4.1_03 (most users have that one) if no newer version is installed - if I replace it with 1.4.2_06 (the version used to compile) it still does not work.
Anyone know how I can solve this without requiring Java 1.4.2?
HTTP response code 401 is "Unauthorized". Are you sure this is a Java version thing, and not a security thing? Is the web server where the applet lives allowed to send to JAR file to the client machine you're testing on?