[
https://issues.apache.org/jira/browse/CASSANDRA-7676?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14159808#comment-14159808
]
Michael Shuler commented on CASSANDRA-7676:
-------------------------------------------
Looks good to me :)
> 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
> Labels: qa-resolved
> Fix For: 2.0.11, 2.1.1
>
> 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)