Hi Nicoloas,

you also must convert the demo html-files. Use the HTMLConverter 1.2 to tell
your browser to take JRE 1.2 instead of its own Java environment which is
still at 1.1.5.
The converter puts a small javaScrpit into the html which enables the
browser to take the plug-in. The browser will not automatically use the
plug-in when it gets an applet.

Gernot Veith
[EMAIL PROTECTED]
http://www.janet.de


> -----Original Message-----
> From: Nicolas Trussart [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 23, 1999 9:43 AM
> To: [EMAIL PROTECTED]
> Subject: Running applet in a browser
>
>
>         Hello Gary,
>
> I have the same problem as Vladimir.
> I would like to run an applet in a browser. I have installed
> jdk1.2.1, javasoft runtime and java3d in the jdk1.2.1 directory.
>
> When I try to load an applet, this is the message that the
> Java console
> tells :
>
>     # Verifier error HelloUniverse.<init>()V: Cannot find class
> javax/media/j3d/Canvas3D
> # Applet exception: class HelloUniverse got a security
> violation: method
> verification error
>
> java.lang.VerifyError: 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.r
> un(Compiled
> Code)
>
> I followed your advice : I have added in the java.policy file the two
> lines :
>  permission java.lang.RuntimePermission "modifyThread";
>  permission java.lang.RuntimePermission "modifyThreadGroup";
>
> Secondly, in the Java Plug-in Control Panel, which appears after the
> Javasoft runtime is installed,
> I enabled the Java Plug-in (Must I do it ?) and I have tried with all
> Java Runtime Environment.
>
> And thirdly, I put the j3d.dll and j3daudio.dll files in the
> C:\Program
> Files\Javasoft\Jre\1.2\bin directory
> (in reference to an other advice given in the j3d mailing list).
>
> But unfortunatly, it doen't work.
>
> Could you help me ?
>
> Yours truly.
> Nicolas.
>
> ==============================================================
> =============
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body
> of the message "signoff JAVA3D-INTEREST".  For general help,
> send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to