Can't launch ./neo4j console Missing JVM?

I followed the instructions I thought exactly but when I go to run:

./neo4j console

I get error: Unable to find any JVMs matching version "11".

I'm running MAC OSX Mojave version 10.14.6

I can't find binaries for Java Virtual Machine and I tried installing JRE but that's not it either.

Appreciate the help

Thank you

You probably just don't have the correct JVM installed.

Either of these should do the trick:

https://jdk.java.net/java-se-ri/11
https://openjdk.java.net/install/

If you are new to neo4j it may be (much) easier to begin with Neo4j Desktop

if you need to run command line neo4j server you will want to become familiar with Java, and check that you have a compatible java version installed and setup correctly...

Here is what I see on my Mac (Catalina),

java -version

java version "1.8.0_161"

Java(TM) SE Runtime Environment (build 1.8.0_161-b12)

Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

If I recall correctly I've run neo4j server on this Mac some time ago, lately I only run Neo4j desktop here (neo4j desktop includes the ability to spin up local neo4j dbs), and my neo4j servers are running in docker on ubuntu (bionic beaver).

1 Like

Tony, thanks I've extracted the tar file and am in the /bin folder but I see no instructions for installing. Other suggestions for install assume I have a .dmg(pkg) file.

What terminal command must I issue to install the jdk?

Ultimately I'm trying to get Bloodhound installed on Mac OS

Hi thanks, I'm willing to try that but the app I want to install (Bloodhound) runs on the neo4j with the Java SDK, AFAIK.