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)

Reply via email to