我已经下载了 Cassandra 软件并安装了依赖项,即 Python 和 Java。然后在 cmd 我写了以下命令。
C:\apache-cassandra-3.11.10\bin>cassandra
它给出了以下输出
WARNING! Powershell script execution unavailable.
Please use 'powershell Set-ExecutionPolicy Unrestricted'
on this user-account to run cassandra with fully featured
functionality on this platform.
Starting with legacy startup options
Starting Cassandra Server
Unrecognized VM option 'UseParNewGC'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
我的java版本是:
C:\apache-cassandra-3.11.10\bin>java --version
java 16 2021-03-16
Java(TM) SE Runtime Environment (build 16+36-2231)
Java HotSpot(TM) 64-Bit Server VM (build 16+36-2231, mixed mode, sharing)
Cassandra 3.11.10 是否支持 Java-16?