Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E1341200BCB for ; Thu, 24 Nov 2016 13:43:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DFD57160B1E; Thu, 24 Nov 2016 12:43:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 3AC4A160B11 for ; Thu, 24 Nov 2016 13:43:59 +0100 (CET) Received: (qmail 30794 invoked by uid 500); 24 Nov 2016 12:43:58 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 30777 invoked by uid 99); 24 Nov 2016 12:43:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2016 12:43:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 54C4F2C03DD for ; Thu, 24 Nov 2016 12:43:58 +0000 (UTC) Date: Thu, 24 Nov 2016 12:43:58 +0000 (UTC) From: "Lijun Liao (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-4845) Cannot start karaf with JRE 9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 24 Nov 2016 12:44:00 -0000 [ https://issues.apache.org/jira/browse/KARAF-4845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15693198#comment-15693198 ] Lijun Liao commented on KARAF-4845: ----------------------------------- There are some scenarios where it is not possible/wished to use JDK due to the restriction of resource, license, security requirements, etc. > Cannot start karaf with JRE 9 > ----------------------------- > > Key: KARAF-4845 > URL: https://issues.apache.org/jira/browse/KARAF-4845 > Project: Karaf > Issue Type: Bug > Components: karaf-boot > Affects Versions: 4.1.0 > Environment: Ubuntu > JRE Early Access Releases 9 Build 146 > Reporter: Lijun Liao > Assignee: Freeman Fang > Fix For: 4.1.0 > > > Starting karaf with JRE 9 fails with the following error message: > {code} > $ bin/karaf > Error occurred during initialization of VM > java.lang.module.ResolutionException: Module jdk.xml.bind not found > at java.lang.module.Resolver.fail(java.base@9-ea/Resolver.java:790) > at java.lang.module.Resolver.resolveRequires(java.base@9-ea/Resolver.java:94) > at java.lang.module.Configuration.resolveRequiresAndUses(java.base@9-ea/Configuration.java:370) > at java.lang.module.ModuleDescriptor$1.resolveRequiresAndUses(java.base@9-ea/ModuleDescriptor.java:1987) > at jdk.internal.module.ModuleBootstrap.boot(java.base@9-ea/ModuleBootstrap.java:260) > at java.lang.System.initPhase2(java.base@9-ea/System.java:1927) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)