Getting this when running either neo4j start
or neo4j-admin
ERROR! Neo4j cannot be started using java version 1.8.0_265.
* Please use Oracle(R) Java(TM) 11, OpenJDK(TM) 11 to run Neo4j.
* Please see https://neo4j.com/docs/ for Neo4j installation instructions.
Pinned Comments
hainkind commented on 2024-03-08 19:27 (UTC)
i don't know if this is obvious to everyone but i had to switch my system java default to openjdk 17 via 'sudo archlinux-java set java-17-openjdk'. compile failed with a default version of 21.