Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 92E7C11681 for ; Thu, 10 Jul 2014 15:05:07 +0000 (UTC) Received: (qmail 145 invoked by uid 500); 10 Jul 2014 15:05:07 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 115 invoked by uid 500); 10 Jul 2014 15:05:07 -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 99991 invoked by uid 99); 10 Jul 2014 15:05:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jul 2014 15:05:07 +0000 Date: Thu, 10 Jul 2014 15:05:07 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-2830) Karaf scripts java version check should be more "flexible" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-2830?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1405= 7552#comment-14057552 ]=20 Jean-Baptiste Onofr=C3=A9 commented on KARAF-2830: --------------------------------------------- Fixed on master: https://git-wip-us.apache.org/repos/asf?p=3Dkaraf.git;a=3D= commitdiff;h=3Db6dd8938315f9d6e495e57608ce635fc324bb7a3 > 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=C3=A9 > Assignee: Jean-Baptiste Onofr=C3=A9 > Fix For: 2.4.0, 4.0.0, 3.0.2 > > > 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)