Installation error: Unable to install java: distribution does not exist. Neo4j won't be able to run until java is installed

I'm having this error:

I had an older version working. But when I updated to 1.2.8 this error comes up and I don't understand it. I have java installed (with brew), several versions administrated by jenv.

Also, I'm running the community version in CLI and works well. But, I had to put the java version locally to java 11. I already tried to change the global java version (I tried with 8, 11 and 13) but the error still happening.

Thanks,

2 Likes

I have the same issue. Were you able to solve since your original post?

Still no answer to this problem. Same issue

I found the problem. In a previous version in the directory ../Library/Application Support/Neo4j Desktop/Application/distributions/java/ the java JVM ys version 8.21.01. and the new version need 8.42.0.21 and 11.35.13 versions.
Solutions: delete complete the /Library/Application Support/Neo4j Desktop and start the Neo4j Desktop again... "beware" if you have existing database, because they are deleted (backup them before doing this).

1 Like

Thanks @rlh I had the same problem and ...

delete complete the /Library/Application Support/Neo4j Desktop

... worked!