I installed cassandra on mac using this command brew install cassandra
.
I ran this command (cassandra -f
) to start the DB but getting the following exception.
Caused by: java.lang.NumberFormatException: For input string: "openj9-0"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65).
In this link https://youtrack.jetbrains.com/issue/UP-10379 it is mentioned that database doesn't support OpenJ9. The fix is planned for Cassandra 4.0 which hasn't been released yet.
I installed the latest version of cassandra which is 4.0.3, still I am facing issue.
Any solution or alternative??
If there is no solution then How can I switch from openJ9 VM to Hotspot JVM (which is compatible with cassandra).