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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.0.11, 2.1.1
    • None

    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

            snazy Robert Stupp
            snazy Robert Stupp
            Robert Stupp
            Michael Shuler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: