我下载了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吗?
发布于 2021-05-28 14:36:39
中设置适当的执行策略。
对您来说,另一种可能是在WSL ()上运行Cassandra。
https://stackoverflow.com/questions/67740061
复制相似问题