help with permissions

From: aallee83 (oni-r_at_libero.it)
Date: 12/23/03

  • Next message: hiwa: "Re: Background colour won't show"
    Date: 23 Dec 2003 00:21:30 -0800
    
    

    During an applet execution based on JAI libraries after compiling the
    .java file I get the following problem.
    What to do?
    Thanks in advance...

    Alessandro

    java.lang.ExceptionInInitializerError

            at javax.media.jai.OpImage.<init>(OpImage.java:230)

            at javax.media.jai.PointOpImage.<init>(PointOpImage.java:374)

            at javax.media.jai.PointOpImage.<init>(PointOpImage.java:404)

            at javax.media.jai.NullOpImage.<init>(NullOpImage.java:108)

            at javax.media.jai.NullOpImage.<init>(NullOpImage.java:156)

            at VisorTiff.init(VisorTiff.java:46)

            at sun.applet.AppletPanel.run(Unknown Source)

            at java.lang.Thread.run(Unknown Source)

    Caused by: java.security.AccessControlException: access denied
    (java.util.PropertyPermission java.home read)

            at java.security.AccessControlContext.checkPermission(Unknown Source)

            at java.security.AccessController.checkPermission(Unknown Source)

            at java.lang.SecurityManager.checkPermission(Unknown Source)

            at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)

            at java.lang.System.getProperty(Unknown Source)

            at com.sun.media.jai.util.PropertyUtil$1.run(PropertyUtil.java:99)

            at java.security.AccessController.doPrivileged(Native Method)

            at com.sun.media.jai.util.PropertyUtil.getFileFromClasspath(PropertyUtil.java:124)

            at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:360)

            at javax.media.jai.JAI.<clinit>(JAI.java:382)


  • Next message: hiwa: "Re: Background colour won't show"

    Relevant Pages

    • Re: how to run applet .java file
      ... compile .java file without the resulting .class file. ... that is, interpret it from the source, without previously compiling it ... Is this also "of course" impossible, Lew? ...
      (comp.lang.java.programmer)
    • how to run applet .java file
      ... Is there a way to run an applet's .java file, without compiling it ... to .class file? ... (the java command expects main) ...
      (comp.lang.java.programmer)