cassandra.bat -f - 在Windows 8.1专业版中启动cassandra的问题

问题描述 投票:1回答:1

我正在Windows 8.1专业版中设置cassandra。我尝试过使用JDK 8,Open JDK 12和JDK 12.我在Windows中安装cassandra时缺少什么。

C:\apache\apache-cassandra-3.11.4\bin>cassandra.bat

Detected powershell execution permissions.  Running with enhanced startup scripts.
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*

    WARNING!  Automatic page file configuration detected.
    It is recommended that you disable swap when running Cassandra
    for performance and stability reasons.

*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
Failed 64-bit check. Re-running to get version from 32-bit
*---------------------------------------------------------------------*
*---------------------------------------------------------------------*

    WARNING! Detected a power profile other than High Performance.
    Performance of this node will suffer.
    Modify conf\cassandra.env.ps1 to suppress this warning.

*---------------------------------------------------------------------*
*---------------------------------------------------------------------*
Cassandra 3.0 and later require Java 8u40 or later.

我希望CASSANDRA应该开始。

cassandra cassandra-3.0
1个回答
1
投票

通过将JAVA_HOME指向jre1.8.0_212 /而不是jdk1.8.0_212 /来解决此问题。我试图理解为什么它只适用于JRE 1.8,为什么它不能使用高级JDK(JDK12)。有谁可以分析?

© www.soinside.com 2019 - 2024. All rights reserved.