You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Brüssow (JIRA)" <ji...@apache.org> on 2019/07/09 07:36:00 UTC
[jira] [Commented] (KARAF-3518) JDK9: endorsed directories not
working any longer
[ https://issues.apache.org/jira/browse/KARAF-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881017#comment-16881017 ]
Christian Brüssow commented on KARAF-3518:
------------------------------------------
This issue also affects the OpenJ9 Java 11 JVM and Karaf 4.2.5 - as expected - and prohibits the start of Karaf via the service-wrapper.
But we were able to start the service (MS Windows and systemd) by removing the line
{code:java}
wrapper.java.additional.1=-Djava.endorsed.dirs=...{code}
in the $KARAF_HOME/etc/<your-service>-wrapper.conf file.
Should we open a separate ticket for the service-wrapper and the endorsed-libs property?
> JDK9: endorsed directories not working any longer
> -------------------------------------------------
>
> Key: KARAF-3518
> URL: https://issues.apache.org/jira/browse/KARAF-3518
> Project: Karaf
> Issue Type: Bug
> Components: karaf
> Affects Versions: 4.0.0.M3
> Environment: OS X,
> java version "1.9.0-ea"
> Java(TM) SE Runtime Environment (build 1.9.0-ea-b49)
> Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b49, mixed mode)
> Reporter: Achim Nierbeck
> Priority: Major
> Labels: java9
>
> following message is caught with JDK 1.9:
> {code}
> -Djava.endorsed.dirs=/Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home/jre/lib/endorsed:/Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home/lib/endorsed:/Users/anierbeck/Development/server/apache-karaf-4.0.0.M2/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.
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)