Could not find any jvms corresponding to version 1.7 when starting neo4j

I am using Mac OS X Yosemite and I have Java8 JRE installed

image1image2

but when i run neo4j it cannot find a compatible version of JVM 1.7

image3

+4
source share
2 answers

You installed java 8, while neo4j is looking for java 7. Therefore, install java 7 and set it as jvm / jre by default, and it should run correctly.

+3
source

Neo4J startup script searches JAVA_HOME, and if it is not set by default, install it in Java v1.7. So, install JAVA_HOMEin your .bash_profilefile.

export JAVA_HOME=$(/usr/libexec/java_home)

Then restart the terminal or run

$ source .bash_profile

, Neo4J, .

+7

All Articles