I Installed cassandra 3.11.4 using Brew. cassandra -v
suggests me the cassandra is installed. But when I tried to do cassandra -f
, I'm getting following error:
[0.001s][warning][gc] -Xloggc is deprecated. Will use -Xlog:gc:/usr/local/Cellar/cassandra/3.11.4/libexec/logs/gc.log instead.
intx ThreadPriorityPolicy=42 is outside the allowed range [ 0 ... 1 ]
Improperly specified VM option 'ThreadPriorityPolicy=42'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Installed JDK Version: 11
How can I fix this error?