在Windows上启动Neo4j服务器 [英] Start neo4j server on windows

查看:279
本文介绍了在Windows上启动Neo4j服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在Windows上启动服务器时: 打开Windows命令提示符,转到neo4j bin目录并执行 Neo4j.bat.

When I try to start the server on windows: Open a windows command prompt, go to the neo4j bin directory and execute Neo4j.bat.

我收到此错误消息:

Error: Unable to access jarfile C:\app\NEO4J-~1.2\bin\windows-service-wrapper-*.jar

我需要更改其有效的bat文件吗?

What do I need to change in the bat files that it works?

推荐答案

将*替换为您下载的neo4j的版本.

Replace the * with the version of the neo4j you have downloaded.

  1. 转到bin目录
  2. 打开base.bat文件,然后查找类似set wrapperJarFilename=windows-service-wrapper-*.jar
  3. 的内容
  4. *替换为jar文件windows-service-wrapper-4.jar的版本(此jar文件将位于您的bin目录中).在我的情况下,版本为4,因此将*替换为4.
  1. go to the bin directory
  2. open the base.bat file and look for something like this set wrapperJarFilename=windows-service-wrapper-*.jar
  3. replace the * with the version of the jar file windows-service-wrapper-4.jar (this jar file will be in your bin directory). In my case the version is 4 so replace * with 4.

这篇关于在Windows上启动Neo4j服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆