Unable to access jarfile ...\windows-service-wrapper-*.jar #391

kkurni opened this Issue Dec 27, 2012 · 16 comments


None yet

kkurni commented Dec 27, 2012


I get this error on my windows 8 machine.

I try using 1.8 and 1.9 but still get the same error when calling neo4j.bat start

Any hints ?



jexp commented Dec 27, 2012

Any chance to share more details? E.g. a full stacktrace? try to start neo4j.bat console to see the error on the console.

kkurni commented Dec 27, 2012

PS C:\temp\neo4jRC1\bin> .\Neo4j.bat console
Error: Unable to access jarfile C:\temp\neo4jRC1\bin\windows-service-wrapper-*.jar

This is the error message that I get on windows.

I am using windows 8 machine inside parallels.

My plan is deploying it into windows Azure, so I have to test it on my local windows first.


valsaul commented Dec 29, 2012

I had the same problem, as it seems bat file is not recognizing the wildcard command properly.

To solve this, I edited bin\base.bat file and found the line with windows-service-wrapper-*.jar and changed it to windows-service-wrapper-4.jar , which was the name of the file that came with M1.8.1.

This might not be the proper solution but just a stop gap measure.

kkurni commented Dec 30, 2012

Thanks, it works for me now

On Sat, Dec 29, 2012 at 9:33 PM, valsaul notifications@github.com wrote:


Kurniawan Kurniawan
(Ph) +61 432 5222 39
(Email) kkurni@gmail.com
(Web) http://www.kkurni.com

Ejhi commented Jan 6, 2013

@valsaul thnx. It help me too.

bbar commented Jan 16, 2013

The problem seems to have something to do with the JRE version you're running. I was on 6 and everything worked fine. I switched to 7, and received this error. Neo4j.org states here that the database is currently tested with JRE 6: http://docs.neo4j.org/chunked/stable/deployment-requirements.html#_jdk_version

Also, if you open the log in /data/log, you'll see that you get a warning if you're running anything but JRE 6.

In any case, either edit the bin\base.bat file, or switch your JRE back to version 6.


jakewins commented Feb 18, 2013

As per the comment above, Neo4j 1.8 only supports JDK 1.6. Support for Java 7 will be delivered in the upcoming 1.9 release of Neo4j.

@jakewins jakewins closed this Feb 18, 2013


rickardoberg commented Feb 19, 2013

While doing Windows QA I got this error as well. Turns out I had four different VMs installed (Java 6 and Java 7). I uninstalled all of them and only installed Java 7 JDK, and then it worked.


rickardoberg commented Feb 19, 2013

Tried uninstalling Java 7 and installed Java 6, and it still worked. Must have been the preinstalled Java that somehow screwed it up, I think. Anyone who has this problem, please report output of "java -version".

@rickardoberg rickardoberg reopened this Feb 19, 2013


cleishm commented Mar 27, 2013

I've reproduced this.

I just took a clean windows machine (never had a JRE installed), installed Oracle JRE 7u17, unpacked Neo4j 1.9.M05, ran "bin\Neo4j.bat start".


lassewesth commented Mar 27, 2013

@chrisleishman @rickardoberg bba97d5 ought to fix this?


akollegger commented Mar 28, 2013

@lassewesth Have you had a chance to test on a windows boxer?

only change line 8 in bin/base.bat : set wrapperJarFilename=windows-service-wrapper-4.jar
I have test it. now it works well

Still failing. Also ... The wildcard won't work because it is not a legal Windows file name. Perhaps the Java 1.6 loader did a file expansion and 1.7 loaded the literal string.

@davidegrohmann davidegrohmann removed the server label Oct 22, 2015

@jakewins jakewins added the operability label Dec 5, 2015


tinwelint commented Dec 10, 2015

Didn't we remove the windows wrapper thing as a whole recently?


chrisvest commented Jun 22, 2017

Closing because the Windows scripts have since been rewritten in PowerShell.

@chrisvest chrisvest closed this Jun 22, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment