cassandra 2 complaining about Java 7 when I have Java 7 installed

前端 未结 8 936
不思量自难忘°
不思量自难忘° 2021-01-22 09:26
$ cassandra 
Cassandra 2.0 and later require Java 7 or later.

OK, what\'s going on in that part of the init script?

java_ver_output=`\         


        
8条回答
  •  悲&欢浪女
    2021-01-22 10:03

    To resolve this problem I changed $JAVA_HOME environment variable to the path I found it from:

    System Preferences -> Java -> java (tab in Java Control Panel) -> View -> Path
    

    I had two version of java and the default one was the old version of java.

提交回复
热议问题