Getting it to run:
$ sudo -s #Not sure this is fully needed, but this outdated crap is annoying)
# mkdir -p /usr/share/java/neo4j/logs/
# NEO4J_HOME=/usr/share/java/neo4j neo4j start
It'll complain that /usr/share/java/neo4j/conf/neo4j.conf
doesn't exists. And if you're here for bloodhound, then simply login to the web-tool once via http://localhost:7474/ and change the password before running bloodhound.
If it still doesn't work, do
# cd /usr/share/java/neo4j/data/databases/
# mv graph.db/ graph.db.orig
# cp -r /usr/share/bloodhound/BloodHoundExampleDB.graphdb/ graph.db
And you'll get the example up and running, which you can wipe.
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.