[ https://issues.apache.org/jira/browse/KARAF-5641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16398339#comment-16398339 ]
Freeman Fang commented on KARAF-5641: ------------------------------------- I managed to figure out we also need add eecap-10 entry in etc/configure.properties to get it work. Now the 4.2 snapshot kit can be launched by Java10 > Karaf boot scripts need to deal with JDK10 version patterns > ----------------------------------------------------------- > > Key: KARAF-5641 > URL: https://issues.apache.org/jira/browse/KARAF-5641 > Project: Karaf > Issue Type: Bug > Components: karaf-core > Affects Versions: 4.2.0.M2 > Reporter: Sanne Grinovero > Assignee: Guillaume Nodet > Priority: Major > Fix For: 4.2.0 > > > The {{checkJvmVersion()}} function in the {{/bin/inc}} script of the > distribution is not dealing with the new output of {{java -version}} of JDK10 > (and later?). > The {{VERSION}} variable is left undefined, which then has the main > bootscript to not set the Jigsaw modules correctly (the various JVM flags > which need to be enabled since Java 9). > This is a blocker to use Karaf on Java 10, which is already in candidate > release. I don't think much else is changed compared to Java 9 so it would be > great to sort this. -- This message was sent by Atlassian JIRA (v7.6.3#76005)