Table of Contents
JDK installation
1. Open the official website & download
2. Install JDK
3. Configure the environment
Add variable JAVA_HOME
add path
4. Whether the test is successful
Neo4j installation
1. Open the Neo4j official website to download
2. Create environment variables for neo4j
Add a variable (the variable value is the decompressed address)
add path
3. Check whether the installation is successful
4. Install the neo4j console program
Open cmd as administrator
Re-neo4j start
Open the URL http://localhost:7474
Congratulations on completing the installation of Neo4j
JDK installation
1. Open the official website & download
Download the installation package
Note that the downloaded version is Windows version
Java Downloads | Oracle
2. Install JDK
You can go directly to the next step (if you change the address, you need to remember the installation address)
3. Configuration environment
You can directly search for “environment variables” and click Edit System Environment Variables
As shown in the figure, click on environment variables
Add variable JAVA_HOME
Variable name: JAVA_HOME
Variable value: C:\Program Files\Java\jdk-21
Note: If the address is modified, the variable value needs to be filled with the modified address! ! !
Add path
(The purpose of adding path: when running cmd, you can call java no matter which file directory you are in)
New
Add: %JAVA_HOME%\bin
4. Is the test successful
Search cmd, open cmd
Enter java -version in cmd
Check the java version, just to see if the displayed version is the version you installed. For example, the version I installed this time is “21.0.1”
java -version
Neo4j installation
1. Open the Neo4j official website to download
Neo4j is divided into Enterprise version and Community version. Community version is a free version, so you can directly install the Windows version of Community
Unzip the compressed package (remember the address)
2. Create environment variables for neo4j
Same operation as above
Add variable (the variable value is the decompressed address)
Variable name: NEO4J_HOME
Variable value: D:\Can_software\
eo4j-community-5.13.0-windows\
eo4j-community-5.13.0
Add path
%NEO4J_HOME%\bin
3. Verify whether the installation is successful
Open cmd and enter neo4j version
neo4j version
The displayed version is good, win! ! ! (But this is not the end)
4. Install neo4j console program
Console input neo4j start
We can find thatcannot start! ! !
Open cmd as administrator
Be sure to open it as an administrator! ! !
Enter the command (function: install the neo4j console program):
neo4j windows-service install
neo4j windows-service install
Show Neo4j service installed
Successful installation
re-neo4j start
Open cmd again
Enter the command: neo4j start
neo4j start
You can see that a URL is displayed
http://localhost:7474
Installation successful! ! !
Open URL http://localhost:7474
Default account: neo4j
Default password: neo4j
Connect! ! !
Congratulations on completing the installation of Neo4j
Congratulations, you have connected to neo4j! ! !