Add sanity check of $JAVA on startup
patch by Robert Stupp; reviewed by Michael Shuler for CASSANDRA-7676
merge from 2.0
Merge branch 'cassandra-2.1' into trunk