Cassandra Java 运行时环境检测到致命错误:(WINDOWS)

Cassandra A fatal error has been detected by the Java Runtime Environment: (WINDOWS)

我已经正确安装了 cassandra,但是当我在 cmd 中输入 cassandra 时,出现了这个错误。

卡桑德拉 3.11, JDK 8 & Python 2.7.18

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000010014ed4, pid=12960, tid=0x0000000000000eac
#
# JRE version: Java(TM) SE Runtime Environment (8.0_321-b07) (build 1.8.0_321-b07)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.321-b07 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [sigar-amd64-winnt.dll+0x14ed4]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Windows\System32\hs_err_pid12960.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Windows 上的 运行 Cassandra 存在几个已知问题,因此支持有限。事实上,Windows 支持在 Cassandra 4.0 (CASSANDRA-16171) 中完全被放弃了。

推荐的解决方法是:

否则,如果您只是想学习如何在 Cassandra 上构建应用程序,Astra DB 有一个免费套餐,您只需单击 5 次即可启动集群。干杯!