Reputation: 1967
I am using Mac OS X Yosemite and I had Java8 JRE installed
but, when I start neo4j, it is unable to find any JVM's matching version 1.7
Upvotes: 5
Views: 9871
Reputation: 133
Neo4J startup script looks for JAVA_HOME
and if it is not set defaults to setting it to Java v1.7. So, set your JAVA_HOME
in your .bash_profile
file.
export JAVA_HOME=$(/usr/libexec/java_home)
Then, either restart your Terminal or do
$ source .bash_profile
Now, if you restart Neo4J you shouldn't see the error message.
Upvotes: 11
Reputation: 6563
You've installed java 8 while neo4j is searching for java 7. So install java 7 and set it as your default jvm/jre and it should execute correctly.
Upvotes: 3