On the GitHub Readme it says Tested on >=1.7 (OpenJSK and Sun). However, when I looked at CassandraDaemon.java
, the warning that asks us to upgrade to Oracle Java still exists.
Can someone comment on this ?
I am sure DataStax does testing against OpenJDK, but it is a recommendation to use Sun JDK. There are several people on Community who use OpenJDK without problems but there are also some who do have a lot of problems with openJDK. If you read a few lines later where you started:
https://github.com/apache/cassandra/blame/trunk/src/java/org/apache/cassandra/service/CassandraDaemon.java#L119
You see one example that it warns about what may not work as intended if non-Sun-JDK is used. Those usually affect performance and GC. So, use OpenJDK at your own risk. Also latest version required Java 7.
It is better to use Oracle JDK. We encountered issues because the version was not named in an acceptable format for an OpenJDK implementation i.e. it used icedtea in version and the script could not handle this scenario.
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