Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to run Cassandra 4.0.7 using Java 17

Tags:

cassandra

Trying to install cassandra 4.0.7 on my laptop. When i type cassandra in cmd it simply exits. Used gitbash for running the cassandra. Here the output looks like. enter image description hereerror

removed UseConcMarkSweepGC from the jvm11-server.options file. But not working.

like image 271
Sai Srujan Avatar asked Oct 18 '25 08:10

Sai Srujan


1 Answers

Cassandra 4.0.7 does not support java17. This support is expected for Cassandra 5.x (late 2023 as of today). Please downgrade to Java 11 with tools like jenv

Check the current status here https://issues.apache.org/jira/browse/CASSANDRA-16895

like image 72
clunven Avatar answered Oct 21 '25 16:10

clunven