问题
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
- I'm unable to start the neo4j server as the batch file is deprecated and it displays the following message:
- 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