Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-7825

Java 11: ejbca-db-cli uses endorsed.dirs which is not supported in java 11

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: EJBCA 7.1.0
    • Component/s: None
    • Labels:
      None

      Description

      Trying to run ejbca-db-cli on Java 11:

      user@foo:~/ejbca_ee_7_0_0/dist/ejbca-db-cli$ ./run.sh export all
      OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
      -Djava.endorsed.dirs=./endorsed is not supported. Endorsed standards and standalone APIs
      in modular form will be supported via the concept of upgradeable modules.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      If you see errors while running the CLI similar to "JDBC Driver class not found" your should copy your JDBC driver JAR to ./endorsed

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tomas Tomas Gustavsson
                Reporter:
                tomas Tomas Gustavsson
                Verified by:
                Henrik Sunmark
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Time Spent - 2 hours, 20 minutes Remaining Estimate - 1 hour, 40 minutes
                  1h 40m
                  Logged:
                  Time Spent - 2 hours, 20 minutes Remaining Estimate - 1 hour, 40 minutes
                  2h 20m