cancel
Showing results for 
Search instead for 
Did you mean: 

Join the community at Nodes 2022, our free virtual event on November 16 - 17.

Please help me install Neo4j Community, Java 11 Doesn't Seem to Be Properly Working . .

18diggy
Node

I have Windows 10.

  1. I followed the installation instructions given here: https://neo4j.com/download-thanks/?edition=community&release=4.1.1&flavour=winzip&_ga=2.24529530.172...

  2. I extracted all the files.

  3. Then I opened the CMD prompt, changed directories to the top level of the downloaded files and ran "\bin neo4j console"
    A. in the CMD I see an error: "WARNING: ERROR! Neo4j cannot be started using java version 1.8.0_261
    WARNING: * Please use Oracle(R) Java(TM) 11, OpenJDK(TM) 11 to run Neo4j Server.

  1. So I went here to download Java 11: https://www.oracle.com/java/technologies/javase-jdk11-downloads.html and I ran the installer

  2. I then repeated Step 3 above, running "bin\neo4j console", and I see the exact same error.

What am I doing wrong here?

4 REPLIES 4

I'm having the exact same issue on 11/30/2020

lyn_duong
Node

I am getting the same message.
I also checked my java version using - java -version.
It is version 11 ....

But neo4j console still won't start.

Did anyone resolve this?

Thanks

Hi!
Yes, I solved it on my Windows 10 computer, when I started the neo4j-admin the same issue appeared.
I checked my system variables and found JAVA_HOME pointed to Java 8 installation. Change it by Java 11 folder works perfectly.

Hope helping.

dana_canzano
Neo4j
Neo4j

the the Java 8 install path still defined in the PATH environment variable?
or is environement variable JAVA_HOME referring to the Java 8 install path?

see Environment Variables for Java Applications - PATH, CLASSPATH, JAVA_HOME or similar