Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-7676

bin/cassandra should complain if $JAVA is empty or not an executable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.0.11, 2.1.1
    • Component/s: None
    • Labels:

      Description

      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)

        Attachments

        1. 7676v2.txt
          0.5 kB
          Robert Stupp
        2. java_not_found-fix.txt
          0.7 kB
          Robert Stupp

          Activity

            People

            • Assignee:
              snazy Robert Stupp
              Reporter:
              snazy Robert Stupp
              Authors:
              Robert Stupp
              Reviewers:
              Michael Shuler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: