How to grant property permission for javax.comm.properties to a signed applet
0 posts in topic
Flat View  Flat View

Posted By:   morgan_mei
Posted On:   Saturday, December 29, 2001 02:37 AM

When I used a signed applet to talk with the serial port of client PC, thorw execption:
java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.uti
l.PropertyPermission javax.comm.properties read)

I have modified the $(java.home)libjava.policy as:
grant codeBase "file:${java.home}/lib/*" {
permission java.security.AllPermission;
Because I place the javax.comm.properties file in c:jdk.13lib, pls tell me how should to do? Thanks!

About | Sitemap | Contact