I am starting to learn cassandra and downloaded the file from the Apache Cassandra. When I navigated through the bin folder of the apache-cassandra-2.2.1/bin and run the command cassandra
it gives me the error saying Unable to find java executable. Check JAVA_HOME and PATH environment variables.
But at the same path when I hit java
I am able to see the java is accessible there. What should I do to get rid of this? I am using Windows OS.
Edit: I rather used Datastax windows installer and now I see no error in running cqlsh.