[ 
https://issues.apache.org/jira/browse/KARAF-3518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881028#comment-16881028
 ] 

Christian Brüssow commented on KARAF-3518:
------------------------------------------

There is a check in the $KARAF_HOME/bin/karaf and karaf.bat, but as far as I 
can tell the service-wrapper uses its own configuration file and does not use 
these scripts.

E.g. under Linux the same Karaf can be started via the start.sh script, but 
will fail with the error described in this ticket, when one tries to start it 
via systemctl start <your-service>.service

> 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
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>              Labels: java9
>             Fix For: 4.3.0, 4.2.7
>
>
> 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)

Reply via email to