Click to See Complete Forum and Search --> : java.lang.UnsatisfiedLinkError: assertPermission Problem


ashishrathore
02-09-2006, 07:43 AM
hi
i hav stuck up into this exception canu do smthng 4 this
'i am importing these packages
-----------------------------------------------------------------------

mport com.ms.security.PermissionID;
import com.ms.security.PolicyEngine;
.....
......
........

i have got the path for those packages
now the problem is in these lines(which are in between the code of my applet)...

.....
...........
if(Class.forName("com.ms.security.PolicyEngine") != null)
PolicyEngine.assertPermission(PermissionID.SYSTEM);
............
.....
.......
when i run my applet in appletviewer i get following exceptions

java.lang.UnsatisfiedLinkError: assertPermission
at com.ms.security.PolicyEngine.assertPermission(Native Method)
at bocazas.init(bocazas.java:7164)
at sun.applet.AppletPanel.run(AppletPanel.java:354)
at java.lang.Thread.run(Thread.java:534)


can u help me???

-ashish