I am facing a similar issue on my Mac as given in Error: Could not find or load main class org.neo4j.shell.StartClient.
I initially installed Neo4j using .dmg installer, and it can open Neo4j community edition in browser. But when I click on the Options>Command Prompt, it opens a Terminal window:
xyz$ /Applications/Neo4j \Community\Edition.app/Contents/Resources/app/bin/openNeoTerminal.sh ; exit;
Neo4j Command Prompt
This window is configured with Neo4j on the path.
Available commands:
neo4j-shell
neo4j-import
bash-3.2$ neo4j-shell
Error: Could not find or load main class org.neo4j.shell.StartClient
bash-3.2$
I also downloaded the latest neo4j-2.2.7.tar.gz, unzipped it, created a folder called neo4j under my main directory. I am not sure what is needed further.
Any help will be much appreciated.