Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Neo4j 2.2.0 community trying to start shell

Tags:

neo4j

When I run Neo4JShell.bat I get C:\Program Files (x86)\Neo4j Community\bin>Neo4jShell.bat The system cannot find the path specified. Error: Could not find or load main class org.neo4j.shell.StartClient

Java installed as C:\Program Files (x86)\Neo4j Community\bin>java -version java version "1.8.0_40" Java(TM) SE Runtime Environment (build 1.8.0_40-b26) Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)

Any thoughts?

like image 492
Townheadbluesboy Avatar asked Apr 08 '15 09:04

Townheadbluesboy


People also ask

How do I start Neo4j Community Edition on Windows?

Neo4j can also be run as a Windows service. Install the service with bin\neo4j install-service , and start it with bin\neo4j start . The available commands for bin\neo4j are: help , start , stop , restart , status , install-service , uninstall-service , and update-service .

What is the difference between Neo4j community and enterprise?

Community Edition – which is the foundational core of everything “Neo4j” – is open source, licensed under the GPLv3. This has not changed. Enterprise Edition is licensed under the Neo4j commercial license. This has also not changed.


2 Answers

Run the Neo4j Community executable. In the dialog that appears, select "Options", then "Command Prompt". That sets up your environment. Then run the shell with "Neo4jShell".

like image 171
Quicksilver002 Avatar answered Oct 08 '22 15:10

Quicksilver002


Try the following it should work (let me know if it does not):

  1. "Start" the Neo4j Community Server
  2. On the same window which was used for step "1.", click on "Options" button.
  3. A new Window opens. Click on the button "Command Prompt"
  4. A command prompt window opens up, type "Neo4jShell" or "Neo4jShell.bat" (both works equally fine). This would take you to the Neo4j shell!!

Sincerely, Nawazish

like image 42
nawazish-stackoverflow Avatar answered Oct 08 '22 14:10

nawazish-stackoverflow