More details should be in the jira and a patch has been attached to the same.
I have logged CASSANDRA-589 here for better environment variable
management , where the current script assumes the presence of JAVA_HOME
environment variable / 'java' in the command line, which more often than
not , is not true in prod environments.