bereng commented on code in PR #2563:
URL: https://github.com/apache/cassandra/pull/2563#discussion_r1296774361


##########
bin/cassandra:
##########
@@ -276,6 +280,19 @@ if [ "x$allow_root" != "xyes" ] ; then
     fi
 fi
 
+if  [ "$short" \< "11" ];then
+    echo "Cassandra 5.0 requires Java 11 or Java 17."
+    exit 1;
+fi
+
+java_versions_supported=11,17

Review Comment:
   Wouldn't we like to have this in `cassandra.in.sh`? Seem like a generally 
useful bit of info that could come handy in the future for other scripts.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to