[
https://issues.apache.org/jira/browse/KARAF-5724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lijun Liao updated KARAF-5724:
------------------------------
Environment:
Java Version:
{{$JAVA_HOME/bin/java -version}}
{{java version "10.0.1" 2018-04-17}}
{{Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)}}
{{Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)}}
OS:
{{Ubuntu 64 Bit 16.04}}
Description:
Due to the missing module corba in JDK 10 (tested with the
serverjre-10.0.1_linux-x64), karaf cannot be started.
Here is the error message:
{{apache-karaf-minimal-4.2.0$ bin/karaf }}
{{Error occurred during initialization of boot layer}}
{{java.lang.module.FindException: Module java.corba not found}}
Removing "java.corba" from the line "--add-modules
java.xml.ws.annotation,java.corba,java.transaction,java.xml.bind,java.xml.ws"
in bin/karaf fixed the above error.
was:Due to the missing module corba in JDK 10 (tested with the
serverjre-10.0.1_linux-x64), karaf cannot be started.
> Add support of JDK 10
> ---------------------
>
> Key: KARAF-5724
> URL: https://issues.apache.org/jira/browse/KARAF-5724
> Project: Karaf
> Issue Type: New Feature
> Affects Versions: 4.2.0
> Environment: Java Version:
> {{$JAVA_HOME/bin/java -version}}
> {{java version "10.0.1" 2018-04-17}}
> {{Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)}}
> {{Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)}}
> OS:
> {{Ubuntu 64 Bit 16.04}}
> Reporter: Lijun Liao
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 4.2.1
>
>
> Due to the missing module corba in JDK 10 (tested with the
> serverjre-10.0.1_linux-x64), karaf cannot be started.
> Here is the error message:
> {{apache-karaf-minimal-4.2.0$ bin/karaf }}
> {{Error occurred during initialization of boot layer}}
> {{java.lang.module.FindException: Module java.corba not found}}
> Removing "java.corba" from the line "--add-modules
> java.xml.ws.annotation,java.corba,java.transaction,java.xml.bind,java.xml.ws"
> in bin/karaf fixed the above error.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)