developer musician photographer

Sunday, March 10, 2013

How to Install Neo4j on Windows and a Solution to "Unable to access jarfile windows-service-wrapper-*.jar"

Installing Neo4j on Windows is pretty straightforward, but the Neo4j installation instructions for Windows are lacking….this is all they have.  It’s a little more involved than that.



Install Java

Download and Install the Java JDK from

I clicked on this graphic:


I then read the entire "Oracle Binary Code License Agreement for Java SE" word for word with Oracle and my lawyer present. After days of negotiation with Oracle we finally came to an agreement on the terms. My lawyer OK'd everything, so I came back and clicked on "Accept License Agreement".


I then selected the Windows x64 install. Version 7u17 at the time of this post.


Install Neo4j

Download the Community Edition of Neo4j from


Unzip it to c:\temp\Neo4j


Open base.bat in c:\temp\Neo4j\...\bin with your favorite text editor, I use Notepad++, but any text editor will do.

Note if you don't do this step you could get this exception when trying to install Neo4j

Error: Unable to access jarfile windows-service-wrapper-*.jar

Find this line:

set wrapperJarFilename=windows-service-wrapper-*.jar

Change it to:

set wrapperJarFilename=windows-service-wrapper-4.jar


Save base.bat


Open a Command Prompt and navigate to c:\temp\Neo4j\...\bin


Run Neo4j.bat


You might get a UAC prompt if you just double click on it. If you do, click "More info", then click "Run Anyway"



You might get this "Windows Security Alert", check whatever networks are appropriate for you scenario and click Allow Access.


If all goes well, Neo4j.bat will output this text:

org.neo4j.server.AbstractNeoServer INFO: Server started on [http://localhost:7474/]


Go to http://localhost:7474 and you should see the Neo4j web administration console.


There are a lot of ways to get help…start with