I installed neo4j from github main with mvn clean install -DskipTests -T1C and ulimit set to 40000, added the path to bin/neo4j-admin, but when trying to start neo4j or neo4j-admin I get
Error: Could not find or load main class org.neo4j.server.startup.Neo4jBoot Error: Could not find or load main class org.neo4j.server.startup.Neo4jAdminBoot
java version "1.8.0_241"
Java(TM) SE Runtime Environment (build 1.8.0_241-b07)
I need version 5 and a server working from Mac command line. Tried installing Java 17, but I get Error: Could not find or load main class org.neo4j.server.startup.Neo4jAdminBoot
Caused by: java.lang.ClassNotFoundException: org.neo4j.server.startup.Neo4jAdminBoot