5

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:

  • The Cassandra Wiki says:

Cassandra requires the most stable version of Java 7 or 8

Community
  • 1
  • 1
Raedwald
  • 46,613
  • 43
  • 151
  • 237

1 Answers1

8

Cassandra 3.0+ requires Java 8.

In conclusion, the Cassandra Wiki is wrong and the Cassandra change log is misleading.

Community
  • 1
  • 1
Raedwald
  • 46,613
  • 43
  • 151
  • 237
  • I've updated the Wiki, thanks for pointing that out. Instead of the changelog, you should be looking at NEWS.txt, specifically the "Upgrading" section for your version (and any versions you may skip). For 3.0, this says "3.0 requires Java 8u40 or later.". – Tyler Hobbs May 18 '16 at 21:07
  • You'll run into a similiar issue with JDK 10 since they changed the naming scheme -- the cassandra-env.sh script's parsing is naively assuming the old naming convention. – Roddy of the Frozen Peas May 16 '18 at 01:15