Hi Demitrius,

You need to use the Java Plug-in 1.2 HTML converter to convert your
HTML so that the alternate JVM will be used. It is available for
download at:

  http://java.sun.com/products/plugin/

Just run it on the standard HTML file, and then it will output a
plug-in HTML file.  Then you can run the example in Netscape, IE, or
appletviewer with the new HTML.  Also, you shouldn't need to set
CLASSPATH.

If you do not change the HTML, then the browser's original bundled VM
will be used.  This is one of the things that the new Open Java
Interface (OJI) will allow -- you will be able to permanently replace
the VM in your browser.

Hope this helps.

Travis Bryson
Sun Microsystems



> X-Authentication-Warning: capra.eng.sun.com: amith set sender to 
[EMAIL PROTECTED] using -f
> From: Demitrius Nelon <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: [java3d] # Applet exception: error: java.lang.NoClassDefFoundError: HelloU 
>niverse
> Date: Thu, 27 May 1999 16:17:25 -0500
> MIME-Version: 1.0
> 
> Does anybody have any idea how to get java3d to work in a browser?
> 
> 
> Just did a clean install of NT 4.0 sp 5
> Installed jdk 1.2.1
> Installed java3d 1.1.1
> Installed java3d runtime to get browser support in Netscape Communicator 4.6
> & IE 5.0
> 
> Path            C:\jdk1.2.1\bin;
> ClassPath    C:\Program Files\Exceed.nt\hcljrcsv.zip;C:\Program
> Files\Exceed.nt;C:\jdk1.2\Program Files\JavaSoft\JRE\1.2\lib;
> 
> Also tried: from README.Java3d-rt.OpenGL.txt
> 
> "
> 
> NOTE: There is a bug in Java Plug-In that prevents standard extension
> classes, such as Java 3D, from being loaded.  Java Plug-In currently
> looks only in the lib directory of C:\Program Files\JavaSoft\Jre\1.2
> and fails to look in the lib\ext directory.  The solution is to copy
> the following four Java 3D jar files from
> C:\Program Files\JavaSoft\Jre\1.2\lib\ext to
> C:\Program Files\JavaSoft\Jre\1.2\lib:
> 
>       j3daudio.jar
>       j3dcore.jar
>       j3dutils.jar
>       vecmath.jar
> "
> 
> can't get /jdk1.2.1/demo/java3d/HelloUniverse/HelloUniverse.html to work in
> any browser.
> 
> appletviewer.exe works fine for this demo as well as java.exe...
> 
> In Netscape Communicator I get
> 
> Applet HelloUniverse class HelloUniverse got a security violation: method
> verification error
> 
> Java Console gives:
> 
> # Applet exception: error: java.lang.NoClassDefFoundError: HelloUniverse
> java.lang.NoClassDefFoundError: HelloUniverse   at
> java.lang.ClassLoader.resolveClass(Compiled Code)   at
> netscape.applet.AppletClassLoader.loadClass1(Compiled Code) * at
> netscape.applet.AppletClassLoader.loadClass(Compiled Code)   at
> netscape.applet.AppletClassLoader.loadClass(Compiled Code)   at
> netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled Code)
> at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)   at
> java.awt.EventDispatchThread.run(Compiled Code)   at
> netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
> Code)
> 
> 
> In IE5 I get:
> 
> load: HelloUniverse can't be instantiated
> 
> 
> in HotJava I get:
> 
> null:
>  java.lang.NoClassDefFoundError 
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/

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

Reply via email to