gpt4 book ai didi

java - 我在将 Neo4j 1.9 升级到 2.0 时遇到问题

转载 作者:行者123 更新时间:2023-11-30 09:12:59 24 4
gpt4 key购买 nike

查看 bash 脚本 - 我的 Java SDK 和 JRE 已升级到版本 7 - 我很难过。

charless-mbp:~ charlesdibsdale$ java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)
charless-mbp:~ charlesdibsdale$ neo4j stop
Instance running via launchd with PID 3196, stopping it...
charless-mbp:~ charlesdibsdale$ neo4j start
WARNING! You are using an unsupported version of the Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7.
Using additional JVM arguments: -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Dneo4j.ext.udc.source=homebrew
Detected installation in launchd, starting it...

参见 here了解更多详情。

最佳答案

您必须先从 launchd 中删除旧安装。

所以转到旧安装并执行 bin/neo4j remove 然后你的新服务器应该可以正常启动。

关于java - 我在将 Neo4j 1.9 升级到 2.0 时遇到问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21220611/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com