[arquillian-issues] [JBoss JIRA] (ARQ-2201) arquillian-container-karaf-managed can not start the karaf server with JDK9+

Amos Feng (Jira) issues at jboss.org
Wed Nov 21 06:36:00 EST 2018


Amos Feng created ARQ-2201:
------------------------------

             Summary: arquillian-container-karaf-managed can not start the karaf server with JDK9+
                 Key: ARQ-2201
                 URL: https://issues.jboss.org/browse/ARQ-2201
             Project: Arquillian
          Issue Type: Bug
          Components: OSGi Containers
            Reporter: Amos Feng
            Assignee: Thomas Diesler


Karaf support the JDK9+ since 4.2.0 but when starting with the arquillian the error is
{noformat}
-Djava.endorsed.dirs=/path/to/apache-karaf-minimal-4.2.0/lib/endorsed is not supported.
{noformat}

The possible fix could be with [KarafManagedDeployableContainer.java|https://github.com/arquillian/arquillian-container-osgi/blob/master/container/karaf/managed/src/main/java/org/jboss/arquillian/container/osgi/karaf/managed/KarafManagedDeployableContainer.java#L119] and should not pass the "-Dendorsed" argument when the JDK version >= 9



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the arquillian-issues mailing list