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.
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.
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?
With highest priority it checks for HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft in registry and takes java from it. If you have it, rename it to JavaSoft_, neo4j will fall back to checking %PATH%. No other apps do it, very frustrating.