I am trying out the community edition beta of Neo4j 2.0 for Windows but I can't see a way to install it as a service. The only way to start Neo4j appears to be through neo4j-community.exe, but that requires interactivity to push the start button. The batch file that existed in the 1.X release is gone.
Anyone have any ideas?
Neo4j Desktop is free to download and includes a Neo4j Enterprise Edition Developer license. This gives you access to all the capabilities and features of Neo4j Enterprise Edition, with the limitation that these can only be used by you and on a single machine.
neo4j-home is your installation directory: C:\Program Files\Neo4j Desktop.
Use the powershell method now (the bat files are depreciated). There is a good guide here
C:\neo4j\bin\neo4j install-service
C:\neo4j\bin\neo4j restart
)If you run in to problems check the following:
Are you running powershell as an administrator?
Have you allowed powershell scripts to run (Set-ExecutionPolicy -ExecutionPolicy Unrestricted
- USE WITH CAUTION).
Have you installed java and set your JAVA_HOME environment variable to the java directory (ie. C:\Program Files\Java\jre1.8.0_65)?
Old answer (in case it works better for people)
Go to the neo4j download page, and choose other installs. Download the zip file.
Unzip it to C:\neo4j (not essential, but you can copy and paste the example scripts easier).
Follow the instructions here . In brief:
Type: Import-Module C:\Neo4j\bin\Neo4j-Management.psd1
To install the service enter:
'C:\Neo4j' | Initialize-Neo4jServer -ListenOnIPAddress 127.0.0.1 -PassThru | Install-Neo4jServer -PassThru | Start-Neo4jServer
If you look here: http://www.neo4j.org/download/other_versions The windows version shows a .zip download. In the bin folder there are the bat files.
Run it as administrator and use the install
command to install it as a service.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With