These steps tested using Raspberry Pi Imager 1.7.4 loading Debian Bullseye with Raspberry Pi Desktop (2023-02-21) onto a 2019 Rasbperry Pi 4 model B. All command examples are for running from a CLI/terminal.
Java is required to run a Neo4j instance on a pi. JDK version 17+ is recommended when using Neo4j v5.5.0+
To check your current version (if any):
java -version