Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Applet access denied (java.lang.RuntimePermission accessClassInPackage.sun.

843802Aug 28 2001 — edited Aug 28 2001
I used a class sun.jdbc.rowset.Cached In my applet,
and I deployed the applet with a JAR file which include
the package sun.jdbc.rowset.
However ,When i borow the applet form IE (or AppletViewer ) ,I get a Exception:
access denied (java.lang.RuntimePermission accessClassInPackage.sun.jdbc.rowset)

I was wordering if I need some permission ,but I just only run the class which I deployed form Web Server.

later,I add a new file java.police in my home

grant {
permission java.lang.RuntimePermission "accessClassInPackage.sun.jdbc.rowset";
};

but I can't solve the problem.
Can anybody help me?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 25 2001
Added on Aug 28 2001
1 comment
80 views