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:35:00 UTC
[jira] [Comment Edited] (KARAF-5725) Add support of JDK 11
[ https://issues.apache.org/jira/browse/KARAF-5725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16459593#comment-16459593 ]
Sanne Grinovero edited comment on KARAF-5725 at 5/1/18 10:34 AM:
-----------------------------------------------------------------
Karaf currently fails to boot on JDK11 because JDK11 is not released yet, so the output of {{java -version}} is:
{noformat}
openjdk version "11-ea" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11-ea+10)
OpenJDK 64-Bit Server VM 18.9 (build 11-ea+10, mixed mode)
{noformat}
The boot _bin/karaf_ script fails with:
{noformat}
/opt/apache-karaf-4.2.0/bin/inc: line 212: [: 11-ea: integer expression expected
./karaf: line 274: [: 11-ea: integer expression expected
{noformat}
Probably related to KARAF-5641
was (Author: sanne):
Karaf currently fails to boot on JDK11 because JDK11 is not released yet, so the output of {{java -version}} is:
{noformat}
openjdk version "11-ea" 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11-ea+10)
OpenJDK 64-Bit Server VM 18.9 (build 11-ea+10, mixed mode)
{noformat}
The boot _bin/karaf_ script fails with:
{noformat}
/opt/apache-karaf-4.2.0/bin/inc: line 212: [: 11-ea: integer expression expected
./karaf: line 274: [: 11-ea: integer expression expected
{noformat}
> Add support of JDK 11
> ---------------------
>
> Key: KARAF-5725
> URL: https://issues.apache.org/jira/browse/KARAF-5725
> Project: Karaf
> Issue Type: New Feature
> Affects Versions: 4.2.0
> Reporter: Lijun Liao
> Priority: Major
> Fix For: 4.2.1
>
>
> JDK 11 is the first JDK with LTS (at least 5 years) since version 9. It will be released in September 2018. Currently the EA for JDK 11 is available under http://jdk.java.net/11/. So, if possible, please consider it.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)