gpt4 book ai didi

java - 尝试启动Grakn但出现Java错误

转载 作者:行者123 更新时间:2023-12-01 13:01:59 25 4
gpt4 key购买 nike

我正在尝试在控制台中使用./grakn server start启动Grakn。我在grakn目录中,但出现以下错误:

An error has occurred during boot-up. Please run 'grakn server status' or check the logs located under the 'logs' directory.
Unsupported Java version [11] found. Grakn needs Java 1.8 in order to run.

最佳答案

Grakn使用Java 8,而您使用Java11。您可以通过安装Java 8的JDK来解决此问题,您应该能够在系统here中找到它。

然后,您需要确保可以找到Java 8。在mac / unix上:

export JAVA_HOME=`/usr/libexec/java_home -v 1.8

关于java - 尝试启动Grakn但出现Java错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61539629/

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