Skip to content

Packaging JRE 11 - missing security policy #124

Description

@Robert-Adelard

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions