I am really frustrated with Java3D Applet. I am using Win98, JDK1.2.1,
Java3D 1.1.1. When I run the Demo (HelloUniverse) in Netscape4.51, I got the
error message:

------------------------------------------------------------------------
Applet HelloUniverse class HelloUniverse got a security violation: method
verification error.
------------------------------------------------------------------------

After I converted the HTML file (HelloUniverse.html) by using HTMLConverter
and installed Java Plug-in (JRE version 1.2.1), I finally can run Java3D
applet in Netscape (Not in IE).
However, when I published the HTML file to the Personal Web Server on my PC
and visit from other PC, the HelloUniverse applet was notinited. I got the
following re message from Java Plug-in Console:

------------------------------------------------------------------------
java.lang.ClassFormatError: javax/media/j3d/Group (Bad magic number)
 at java.lang.ClassLoader.defineClass0(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:403)
 at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:101)
 at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:144)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:280)
 at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:110)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:237)
 at java.lang.Class.newInstance0(Native Method)
 at java.lang.Class.newInstance(Class.java:239)
 at sun.applet.AppletPanel.createApplet(AppletPanel.java:532)
 at sun.plugin.AppletViewer.createApplet(AppletViewer.java:759)
 at sun.applet.AppletPanel.runLoader(AppletPanel.java:468)
 at sun.applet.AppletPanel.run(Compiled Code)
 at java.lang.Thread.run(Thread.java:479)
------------------------------------------------------------------------

Is there anyone who has the same problem? Could someone tell me how to solve
them?

Thanks


Yi Zhuang
---------------------------------------
Mechanical and Industrial Engineering
University of Toronto

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to