Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

unable to access jarfile windows-service-wrapper-*.jar

I have just installed neo4j release 1.8.1 on my windows computer. The readme file says I should now navigate to the install directory and type:

C:\Tmp>bin\neo4j.bat

But I get the following error message:

Error: Unable to access jarfile C:\Tmp\bin\windows-service-wrapper-*.jar

Even though the bin directory does contain the file windows-service-wrapper-4.jar

I'm new to this. Any suggestions are greatly appreciated.

like image 787
user1928369 Avatar asked Dec 25 '12 15:12

user1928369


People also ask

How do I access Jarfile?

Open File Explorer and the folder that includes your JarFile. Right-click the Jar file and select Open with then Choose another app. Select Java if it's listed among the default programs.

Why does it say unable to access JAR?

Encountering the “Unable to access jarfile /jar/minecraft_server. jar” error occurs when the server panel is unable to locate the designated JAR File that has been set. This can occur if the file has an incorrect name or if the original file was deleted for any reason.

How do you create a jar file?

Open the Jar File wizard In the Package Explorer select the items that you want to export. If you want to export all the classes and resources in the project just select the project. Click on the File menu and select Export. In the filter text box of the first page of the export wizard type in JAR.


1 Answers

Just edit \bin\base.bat and replace

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

to

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

like image 127
a.oberon Avatar answered Sep 18 '22 10:09

a.oberon