ERROR Neo4j cannot be started using java version 1.8.0

Neo4j 的版本 与 jave 版本问题:

使用neo4j-community-4.1.12 开启服务时报错:

[root@#localhost bin]# ./neo4j start
ERROR! Neo4j cannot be started using java version 1.8.0_65. 
* Please use Oracle(R) Java(TM) 11, OpenJDK(TM) 11 to run Neo4j.
* Please see https://neo4j.com/docs/ for Neo4j installation instructions.

查看java版本

[root@#localhost bin]# java -version
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

重新下载 neo4j-community-3.4.5 就可以了,如果不想更换java环境

[root@#localhost bin]# ./neo4j start
Active database: graph.db
Directories in use:
  home:         /root/packet_install/neo4j-community-3.4.5
  config:       /root/packet_install/neo4j-community-3.4.5/conf
  logs:         /root/packet_install/neo4j-community-3.4.5/logs
  plugins:      /root/packet_install/neo4j-community-3.4.5/plugins
  import:       NOT SET
  data:         /root/sjy_install/neo4j-community-3.4.5/data
  certificates: /root/sjy_install/neo4j-community-3.4.5/certificates
  run:          /root/sjy_install/neo4j-community-3.4.5/run
Starting Neo4j.
WARNING: Max 1024 open files allowed, minimum of 40000 recommended. See the Neo4j manual.
Started neo4j (pid 18919). It is available at http://0.0.0.0:7474/
There may be a short delay until the server is ready.
See /root/packet_install/neo4j-community-3.4.5/logs/neo4j.log for current status.

你可能感兴趣的:(知识图谱,neo4j,知识图谱,人工智能)