1

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 をサポートしていますか?

4

1 に答える 1