Help coderanch get a
new server
by contributing to the fundraiser

don don

Greenhorn
+ Follow
since Jul 30, 2004
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by don don

Hi,

The applet is running fine on MS VM, JVM 1.3.1 and 1.4.1. However on JVM 1.4.2, an exception is generated.

java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.testX

After some test, i found that it is because of the loadlibrary permission is not granted.

I add in the following in the java policy file and the applet is working file.

grant {
permission java.lang.RuntimePermission "loadLibrary.CeloSign_Java";
permission java.io.FilePermission "${java.home}\\lib\\ext\\x86\\testX.dll", "read";
permission java.util.PropertyPermission "java.ext.dirs", "read";
};

Does someone had any idea, why is JVM 1.4.2 so different ?
What can i do in order avoid this modification of java policy ?

Regards,
don
19 years ago