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

[jira] [Commented] (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=15692640#comment-15692640 ] 

Freeman Fang commented on KARAF-4845:
-------------------------------------

I just tried it and it works for me.
You need use Karaf 4.1.0 SNAPSHOT kit which can run with java9
this is my java version
{code}
java -version
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+146)
Java HotSpot(TM) 64-Bit Server VM (build 9-ea+146, mixed mode)
{code}

> 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
>             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)