Hello,
I configured SetupBuilder to include JRE 11.0.17 with my application, but my application failed to initialise:
Caused by: java.lang.SecurityException: Can't read cryptographic policy directory: unlimited at java.base/javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:326)
I suspect this is because the bundled JRE doesn't include the conf/security/policy folder, or because java.security.properties is not set correctly:
https://stackoverflow.com/questions/58182231/openjdk-11-error-can-not-initialize-cryptographic-mechanism
Please advise.
Thanks.
Robert
Hello,
I configured
SetupBuilderto include JRE 11.0.17 with my application, but my application failed to initialise:Caused by: java.lang.SecurityException: Can't read cryptographic policy directory: unlimited at java.base/javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:326)I suspect this is because the bundled JRE doesn't include the
conf/security/policyfolder, or becausejava.security.propertiesis not set correctly:https://stackoverflow.com/questions/58182231/openjdk-11-error-can-not-initialize-cryptographic-mechanism
Please advise.
Thanks.
Robert