All site permissions for jnlp web start file for Mac Yosemite

I am using a WebStart file that runs with the jnlp file. Actually download it locally. I used the same jnlp file on a Windows computer, I changed the permissions through the java.policy file. The same file works on Windows, but I get access to ban messages on a Mac. I changed all the java.policy files that I can change, including local ones, but still getting the same error. I restarted the machine several times, but the same error message. Also, inside the jnlp file, AllPermission is installed, but it still does not work.

Are there any thoughts to fix this?

JNLP security in java.policy , .java.policy .

 grant { permission java.security.AllPermission; }; <security> <all-permissions /> </security> 

Error message:

 !MESSAGE access denied ("java.lang.reflect.ReflectPermission" "suppressAccessChecks") !STACK 0 java.security.AccessControlException: access denied ("java.lang.reflect.ReflectPermission" "suppressAccessChecks") at java.security.AccessControlContext.checkPermission(AccessControlContext.java:457) at java.security.AccessController.checkPermission(AccessController.java:884) 

In terms of permission, I test AllPermissions and then add the necessary granular permissions, but I wanted this to work.

I do not know about the "signing" of the jar code and application. The WebStart jnlp file and code work from a Windows environment.

+7
java security jnlp macos
source share

No one has answered this question yet.

See related questions:

922
How to start a PostgreSQL server on Mac OS X?
3
Why does BasicService.getCodeBase () return null when using the file: // as the URL protocol in the JNLP codebase attribute?
2
impossible to get process time with a cigar
one
Failed to start setDefaultHostnameVerifier
one
Is there a way to deploy the application to run Java in the sandbox without a scary warning?
one
JAR policy file
0
Error trying to connect MyEclipse to the database
0
Can't read local file when using jnlp
0
JNLP allows reading a file
0
Load resource from JAR without access to ClassLoader?

All Articles