You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2014/08/03 13:02:11 UTC

[jira] [Created] (CASSANDRA-7676) bin/cassandra should complain if $JAVA is empty or not an executable

Robert Stupp created CASSANDRA-7676:
---------------------------------------

             Summary: 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: 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.2#6252)