Vartika
Vartika

Reputation: 1095

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

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: enter image description here
  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.

Upvotes: 0

Views: 4261

Answers (1)

Dave Fauth
Dave Fauth

Reputation: 878

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.

Upvotes: 1

Related Questions