Classico Classico - 7 months ago 59
Java Question

Java version for Cassandra

I have two versions of java (java 7 and java 8) on my machine.
JAVA_HOME set to java 7. But I want to start my cassandra with Java 8.

Is it possible to do that without changing of the JAVA_HOME value?


Change the environment variable JAVA_HOME and set it to java8 path

This change will only be impacting current running shell.

 export JAVA_HOME = path_of_your_java_8  

Start Cassandra in this shell

All other shell will use old java 7