Hi Raffi,

This is a known bug which will be fixed in the next release.

If you want to update your local utilties the fix is to add a
doPrivileged block around the loadLibrary call in
J3DTimer.java

    static {
        java.security.AccessController.doPrivileged(
            new java.security.PrivilegedAction() {
            public Object run() {
                System.loadLibrary("J3DUtils");
                return null;
            }
        });

    }


Rgds

Paul


----------------------------------------------------------
Paul Byrne                      Email : [EMAIL PROTECTED]
Sun Microsystems                Phone : (650) 786 9926
Visualization Software Group    Fax   : (650) 786 5852
----------------------------------------------------------



>Delivered-To: [EMAIL PROTECTED]
>MIME-Version: 1.0
>Date: Mon, 26 Nov 2001 12:06:14 -0500
>From: "Kasparian, Raffi J." <[EMAIL PROTECTED]>
>Subject: [JAVA3D] TimerTest demo
>Comments: To: "Java 3D Beta Program (E-mail)" <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>
>The TimerTest demo program doesn't run as an applet - only as a standalone.
>Is this true for anyone else?
>
>java.lang.ExceptionInInitializerError: java.security.AccessControlException:
>access denied (java.lang.RuntimePermission loadLibrary.J3DUtils)
>        at
>java.security.AccessControlContext.checkPermission(AccessControlContext.java
>:272)
>        at
>java.security.AccessController.checkPermission(AccessController.java:399)
>        at
>java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
>        at java.lang.SecurityManager.checkLink(SecurityManager.java:837)
>        at java.lang.Runtime.loadLibrary0(Runtime.java:743)
>        at java.lang.System.loadLibrary(System.java:820)
>        at com.sun.j3d.utils.timer.J3DTimer.<clinit>(J3DTimer.java:88)
>        at TimerTest.<init>(TimerTest.java:50)
>        at java.lang.Class.newInstance0(Native Method)
>        at java.lang.Class.newInstance(Class.java:237)
>        at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
>        at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
>        at sun.applet.AppletPanel.run(AppletPanel.java:293)
>        at java.lang.Thread.run(Thread.java:484)
>
>Raffi
>
>===========================================================================
>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