The recommended version of Java for Cassandra 2.0 was Java 7. But which version is recommended or required for Cassandra 3 (specifically, version 3.5)?
Some information suggests that Java 7 or Java 8 are required; that is, that Java 7 is still OK:
Cassandra requires the most stable version of Java 7 or 8
Cassandra 3.0+ requires Java 8.
cassandra-env.sh script, used by the cassandra shell script, examines the JVM version and refuses to run if the JVM version is before 1.8.cassandra-all.jar using a Java 7 environment you will get a java.lang.UnsupportedClassVersionError complaining of Unsupported major.minor version 52.0.META-INF/MANIFEST.MF file in the JAR indicates it was compiled using a Java 8 compiler: Created-By: 1.8.0_45-b14 (Oracle Corporation).In conclusion, the Cassandra Wiki is wrong and the Cassandra change log is misleading.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With