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

Thomas Diesler (Jira) issues at jboss.org
Wed Jan 9 03:36:00 EST 2019


     [ https://issues.jboss.org/browse/ARQ-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Diesler reassigned ARQ-2201:
-----------------------------------

    Assignee:     (was: Thomas Diesler)


> 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
>            Priority: Major
>
> 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