You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Lijun Liao (JIRA)" <ji...@apache.org> on 2016/11/24 14:23:58 UTC

[jira] [Comment Edited] (KARAF-4845) Cannot start karaf with JRE 9

    [ https://issues.apache.org/jira/browse/KARAF-4845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15693405#comment-15693405 ] 

Lijun Liao edited comment on KARAF-4845 at 11/24/16 2:23 PM:
-------------------------------------------------------------

I use the JRE (Linux 64 bit) downloaded from https://jdk9.java.net/download/. The folders under $JAVA_HOME are bin, conf, lib, and plugin. And "find . -name jdk.xml.bind.jmod" does not return any result. 


was (Author: lliao):
I am using the JRE (Linux 64 bit) downloaded from https://jdk9.java.net/download/. The folders under $JAVA_HOME are bin, conf, lib, and plugin. And "find . -name jdk.xml.bind.jmod" does not return any result. 

> 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 (NOT JDK) 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)