[ https://issues.apache.org/jira/browse/KARAF-4985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved KARAF-4985. ----------------------------------------- Resolution: Fixed > Karaf does not start with JDK 9 in Windows > ------------------------------------------- > > Key: KARAF-4985 > URL: https://issues.apache.org/jira/browse/KARAF-4985 > Project: Karaf > Issue Type: Bug > Components: karaf-os-integration > Affects Versions: 4.1.0 > Environment: Windows 7, Java 9 (JDK and JRE 9 - ea+156) > Reporter: Lijun Liao > Assignee: Jean-Baptiste Onofré > Fix For: 4.2.0, 4.1.2 > > > Under JDK / JRE 9 (tested with ea+156) in Windows 7, karaf does not start > Steps to reproduce the problem: > 1. Start karaf {code}bin/karaf{code} and you will get the following error > {code} > -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 > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)