Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CEA0178E4 for ; Fri, 3 Oct 2014 18:07:35 +0000 (UTC) Received: (qmail 83902 invoked by uid 500); 3 Oct 2014 18:07:34 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 83869 invoked by uid 500); 3 Oct 2014 18:07:34 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 83855 invoked by uid 99); 3 Oct 2014 18:07:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Oct 2014 18:07:34 +0000 Date: Fri, 3 Oct 2014 18:07:34 +0000 (UTC) From: "Robert Stupp (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-7676) bin/cassandra should complain if $JAVA is empty or not an executable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Stupp updated CASSANDRA-7676: ------------------------------------ Attachment: 7676v2.txt New patch version with 2nd (buggy) test removed. > bin/cassandra should complain if $JAVA is empty or not an executable > -------------------------------------------------------------------- > > Key: CASSANDRA-7676 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7676 > Project: Cassandra > Issue Type: Improvement > Reporter: Robert Stupp > Assignee: Robert Stupp > Priority: Trivial > Attachments: 7676v2.txt, java_not_found-fix.txt > > > If JAVA_HOME points to a non-existing directory, bin/cassandra just complains with {{[node1 ERROR] /Users/snazy/.ccm/test/node1/bin/cassandra: line 151: exec: : not found}} (via ccm). > Patch checks if {{$JAVA}} is empty or does not point to an executable and prints appropriate error message. > (Patch against trunk) -- This message was sent by Atlassian JIRA (v6.3.4#6332)