You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/08/03 15:08:00 UTC

[jira] [Commented] (KARAF-4985) Karaf does not start with JDK 9 in Windows

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

ASF subversion and git services commented on KARAF-4985:
--------------------------------------------------------

Commit 5e7c27d942fa8d08956901b0628e3067d0bde42d in karaf's branch refs/heads/karaf-4.1.x from [~jbonofre]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=5e7c27d ]

[KARAF-4985] Add test on Java version on karaf.bat to use the correct startup command


> Karaf does not start with JDK 9 in Windows 
> -------------------------------------------
>
>                 Key: KARAF-4985
>                 URL: https://issues.apache.org/jira/browse/KARAF-4985
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-os-integration
>    Affects Versions: 4.1.0
>         Environment: Windows 7, Java 9 (JDK and JRE 9 - ea+156)
>            Reporter: Lijun Liao
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 4.2.0, 4.1.2
>
>
> Under JDK / JRE 9 (tested with ea+156) in Windows 7, karaf does not start
> Steps to reproduce the problem:
> 1. Start karaf {code}bin/karaf{code} and you will get the following error
> {code}
> -Djava.endorsed.dir=C:\Program Files\Java\jdk-9\jre\lib\endorsed:C:\Program Files\Java\jdk-9\lib\endorsed:D:\apache-karaf-4.1.0\bin\..\lib\endorsed is not supported. Endorsed standards and standalone APIs
> in modular form will be supported via the concept of upgradeable modules.
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)