This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
robots:hako:marg [2013/11/06 13:19] kim |
robots:hako:marg [2021/08/14 04:21] (current) |
||
---|---|---|---|
Line 2: | Line 2: | ||
you need to append these lines of code to have the correct permissions: | you need to append these lines of code to have the correct permissions: | ||
+ | the file that you need to edit is the java.policy. Located in your java folder in your drive. | ||
- | // Gives acces through ATOPAP | + | <code java> |
- | < | + | |
+ | grant codeBase " | ||
+ | | ||
permission java.io.FilePermission "<< | permission java.io.FilePermission "<< | ||
permission java.lang.RuntimePermission " | permission java.lang.RuntimePermission " | ||
Line 10: | Line 13: | ||
permission java.util.PropertyPermission " | permission java.util.PropertyPermission " | ||
permission java.net.SocketPermission " | permission java.net.SocketPermission " | ||
- | };</blockquote> | + | |
- | <br> | + | </code> |
- | Gives acces through internet | + | |
+ | <code java> | ||
+ | | ||
grant codeBase " | grant codeBase " | ||
{ | { | ||
Line 21: | Line 26: | ||
permission java.net.SocketPermission " | permission java.net.SocketPermission " | ||
}; | }; | ||
+ | </ |