I'm glad to hear someone has gotten J3D to work with Netscape6!
I'm still having trouble. I've got a demo applet working OK using
a client with Netscape4.7 + Java Plugin. (On the server, the classes are
jar'd,
the jar is signed, and the html doc is run through the plugin conversion
utility.
I also needed to add c:\jdk1.2.2\jre\bin to the PATH on the client to get it
to work.)
But when I try to access the same applet using the Netscape6 browser
(hitting the original html document that hasn't been run through the plugin
converter),
I get the exception shown below. Do I need to add a security policy entry on
client?
I tried doing this in the file c:\jdk1.2.2\jre\lib\security\java.policy, but
it
didn't help. Is that the wrong policy file? Does Netscape6 use something
different?
lang.ExceptionInInitializerError: java.security.AccessControlException:
access denied (java.lang.RuntimePermission modifyThreadGroup) at
java.security.AccessControlContext.checkPermission(Unknown Source) at
java.security.AccessController.checkPermission(Unknown Source) at
java.lang.SecurityManager.checkPermission(Unknown Source) at
sun.applet.AppletSecurity.checkAccess(Unknown Source) at
java.lang.ThreadGroup.checkAccess(Unknown Source) at
java.lang.ThreadGroup.getParent(Unknown Source) at
javax.media.j3d.MasterControl$17.run(MasterControl.java:2618) at
java.security.AccessController.doPrivileged(Native Method) at
javax.media.j3d.MasterControl.<clinit>(MasterControl.java:2611) at
javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:550) at
SimpleCylinder.<init>(SimpleCylinder.java:103) 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)
- Jim Robertson
-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Carlos Proal
Sent: Thursday, August 10, 2000 1:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] WebStart or Netscape6 deployment
lets put things clear:
Netscape6 preview release1 doesnt need plugin because it contains
java plugin, in fact as i remember... java hotspot 1.2 rc2.
I dont know which is your platform, but assuming windows enviroment (like
almost all people on java3D) you have created a directory
c:\program files\javasoft\jre\1.2 or something similar
so when you install java3d, specify the same directory.
After that you must be capable to run j3d examples from netscape6,
remember that you DONT need to use java HTML converter, the normal tag
<applet code.... > must do the work.
thats it, hope this helps
>From: Qiuli Sun <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [JAVA3D] WebStart or Netscape6 deployment
>Date: Thu, 10 Aug 2000 09:51:44 -0700
>
>I tried also. But I failed. I don't know why.
>
>Qiuli Sun
>
>-----Original Message-----
>From: Discussion list for Java 3D API
>[mailto:[EMAIL PROTECTED]]On Behalf Of James Robertson
>Sent: Wednesday, August 09, 2000 2:11 PM
>To: [EMAIL PROTECTED]
>Subject: [JAVA3D] WebStart or Netscape6 deployment
>
>
>Has anyone successfully deployed a Java3D application via WebStart?
>Or a Java3D applet via Netscape6?
>Both of these client options support Java2. Seems like Java3D should work
>with
>either of these two client approaches, without the need for Java Plugin.
>I've tried both, but haven't had any success.
>- Jim Robertson
>
>
>===========================================================================
> >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".
>
>===========================================================================
>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".
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
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".