You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Sanne Grinovero (JIRA)" <ji...@apache.org> on 2018/05/01 10:29:00 UTC
[jira] [Commented] (KARAF-5724) Add support of JDK 10
[ https://issues.apache.org/jira/browse/KARAF-5724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16459588#comment-16459588 ]
Sanne Grinovero commented on KARAF-5724:
----------------------------------------
FWIW I've tested to boot Karaf 4.2.0 using OpenJDK 10 and it seemed to boot fine.
Used the default OpenJDK version included in Fedora 28 (which is a version 10 already!):
{code}
openjdk version "10" 2018-03-20
OpenJDK Runtime Environment (build 10+46)
OpenJDK 64-Bit Server VM (build 10+46, mixed mode)
{code}
> 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)