Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-4985

Karaf does not start with JDK 9 in Windows

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.2, 4.2.0.M1
    • Component/s: karaf
    • Labels:
      None
    • Environment:

      Windows 7, Java 9 (JDK and JRE 9 - ea+156)

      Description

      Under JDK / JRE 9 (tested with ea+156) in Windows 7, karaf does not start

      Steps to reproduce the problem:
      1. Start karaf

      bin/karaf

      and you will get the following error

      -Djava.endorsed.dir=C:\Program Files\Java\jdk-9\jre\lib\endorsed:C:\Program Files\Java\jdk-9\lib\endorsed:D:\apache-karaf-4.1.0\bin\..\lib\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
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbonofre Jean-Baptiste Onofré
                Reporter:
                lliao Lijun Liao
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: