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

Christoph Gritschenberger commented on KARAF-2830:
--------------------------------------------------

On Fedora I get 
{code}
➜ ~ » /usr/lib/jvm/java-1.8.0/bin/java -version
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-0)
OpenJDK 64-Bit Server VM (build 25.0-b67-internal, mixed mode)
{code}

> Karaf scripts java version check should be more "flexible"
> ----------------------------------------------------------
>
>                 Key: KARAF-2830
>                 URL: https://issues.apache.org/jira/browse/KARAF-2830
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>         Environment: Java8
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.4.0, 3.0.1, 3.1.0
>
>
> If the java -version output returns something different from x.x.x (like 
> 1.7.0, which is the case with Java8), the Karaf script fails with:
> {code}
> ./karaf: line 242: [: : integer expression expected
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to