How to start the local neo4j server on Windows using PowerShell script?

天大地大妈咪最大 提交于 2020-01-06 19:42:23

问题


I have downloaded the zip folder of neo4j community edition version-2.3.1 in order to start connecting the neo4j server through Java code. I want to create graph database for indexing of the data. Followed this link originally.

PROBLEMS

  1. I'm unable to start the neo4j server as the batch file is deprecated and it displays the following message:
  2. Tried using the PowerShell scripts commands also with reference to this link, it just opens the script file. the server is not started with these commands.

Where I am going wrong and what is the right procedure to start the local neo4j server and connect it through Java code to create nodes and relationships of the graph.


回答1:


The batch file will still work even though it has been deprecated. It appears that the batch file cannot find the Findstr command.

findstr.exe should be in %windir%\system32\

If it is there and you are getting the findstr is not recognized as an internal or external command” error, check that %windir%\system32\ is in your PATH.

Once that works, try the Neo4j.bat file again.

And as Anton mentioned, please explain how the Powershell didn't work and what actions you took.



来源:https://stackoverflow.com/questions/34606218/how-to-start-the-local-neo4j-server-on-windows-using-powershell-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!