Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cassandra installation Failed 64-bit check. Re-running to get version from 32-bit on windows 10

I have installed datastax-ddc-64bit-3.8.0 in windows 10 and tried to start the service by running the cassandra.bat in the bin folder. The service not started and failed with below message.

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.

How to fix it?

like image 704
Satheesh ponugoti Avatar asked Jul 07 '18 23:07

Satheesh ponugoti


1 Answers

I solved this issue by pointing JAVA_HOME to jre1.8.0_212 instead of JDK.

like image 141
siva Avatar answered Oct 04 '22 17:10

siva