Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Cassandra installation error Windows 10 : hotspot_compiler

Error: Could not find or load main class Files\apache-cassandra-3.11.1\conf\hotspot_compiler

I am getting this following error in the command prompt when trying to install Apache Cassandra version 3.11.1.
I have already installed python version 2.7.
And the Java version is,

java version "1.8.0_151"  
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)  
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)  

Please Help.
Note that I am installing the core apache cassandra server and not the datastax community edition.
Also for the record conf folder has a file named hotspot_compiler.

like image 457
Sunitha Avatar asked Dec 10 '25 01:12

Sunitha


1 Answers

I resolved this problem by moving the cassandra folder from C:\Program Files\ to C:\cassandra.

I think the root of the problem is the space in the 'Program Files' folder.

like image 85
redcalx Avatar answered Dec 11 '25 14:12

redcalx