I encountered a problem with Netscape 6.1 under Windows displaying a
certain web page while I am okay with IE 5.5 and Netscape 4.7. Anyone
can shed some light?
java.lang.ClassFormatError: jcrypto/cipher/CipherException (Bad magic
number)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.applet.AppletClassLoader.findClass(Unknown Source)
at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.applet.AppletClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.newInstance0(Native Method)
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)
Thanks, Wilson.
in case you don't know what the error means, here you go: a java class
file should start with the hexadecimal sequence 0xCAFEBABE. this is
called the majic number, and if a classloader tries to load in a class
that doesn't start with this sequence, you get this exception.
i don't know why different browsers would fetch different data for a
class.
--
peter d
- Mitch
http://home.istar.ca/~neutron/java.html