I have installed from the Oracle website, the latest version of Java needed to run Cassandra.

Unfortunately, I still get the error message : "Cassandra 2.0 and later require Java 7u25 or later."

After looking around, here's what I got :

$ java -version 
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

If I open the Java configuration panel, here's what I get : "Java 8 Update 25"


$ls /System/Library/Java/JavaVirtualMachines

Any suggestions ?

  • I think that stackoverflow.com/questions/23202516/… may be of help – Håkan Lindqvist Dec 20 '14 at 13:23
  • @HåkanLindqvist : Thanks you for the answer, but unfortunately, this answer doesn't help, since apparently at the normal path I should find jdk1.8, it doesn't appear... – TheSquad Dec 20 '14 at 13:31
  • @Sven: configuring Java on a server for server based activity, is relevant to serverfault, doesn't it ? – TheSquad Dec 20 '14 at 13:37
  • I wouldn't consider MacOS X a viable server OS anymore, because of issues like you describe and, more importantly, the lack of any server class hardware to run the OS. Except maybe the "Server.app" stuff for very small workgroups, I would always recommend to use something else for doing real work. Due to this, I interpreted the question in a dev system/proof of concept way. Are you trying to use it for production use? – Sven Dec 20 '14 at 13:39
  • 1
    @TheSquad Are you sure you don't need the JDK version 7? oracle.com/technetwork/java/javase/downloads/… – sardean Dec 20 '14 at 17:34

Install the JDK Version 7 from: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.