简体   繁体   中英

Grant permission java.lang.RuntimePermission modify thread

How can I grant permission java.lang.RuntimePermission "modifyThread";

I tried editing in C:\\ede-5.1.1\\java6-ibm-sr4ifx3-2009-06-22\\jre\\lib\\security under java.policy But when I started my application after editing, I am still getting the same error I was getting previously. Is there anything else that I have to do after modifying the java.policy?

Usually programs which choose to execute using a SecurityManager use a custom policy file. this is often specified on the commandline. if so, then you should be editing that file.

also, you said you edited the file, but did not indicate how you modified it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM