Installing OpenJDK 11 resolved this for me as well. I'm running the 4.0.8 community edition of Neo4j.
brew install openjdk@11
And then symlink:
sudo ln -sfn /usr/local/opt/openjdk@11/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-11.j...