Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Neo4j on the raspberry pi. Installation steps

My pi runs a raspbian distro (


What the raspberry page officially recommends is the jdk. (Source:

sudo apt-get update && sudo apt-get install oracle-java7-jdk

However, this doesn't include a server on the pi. The jre needs to be installed instead.

sudo apt-get install openjdk-7-jre


I simply followed the instructions there: Source: These instructions are reproduced below.

cd ~
mkdir neo4j
cd neo4j
wget -O neo4j-community-2.0.0.tgz ''
tar xvf neo4j-community-2.0.0.tgz
cd neo4j-community-2.0.0/conf

Edit the neo4j-wrapper.conf file, uncomment and set values for the properties below:

Also, add this line to the neo4j-wrapper.conf file:

Now edit the file and uncomment and set these values to constrain usage of memory mapped IO:


export NEO4J_HOME=~/neo4j/neo4j-community-2.0.0
export PATH=$NEO4J_HOME/bin:$PATH
neo4j status

Having followed these instructions, when I tried

neo4j start 

I got

> "line 147: lsof: command not found"

Which, as per, can be installed with:

sudo apt-get install lsof

And ...

neo4j start 
> [...] http://localhost:7474/ is ready.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment