Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type ScriptPluginFactory using BuildScopeServices.createScriptPluginFactory().
> Could not create service of type PluginResolutionStrategyInternal using BuildScopeServices.createPluginResolutionStrategy().
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
build faild in java8-openjfx
Pinned Comments
hour-keeper commented on 2025-04-06 06:29 (UTC) (edited on 2025-04-06 06:53 (UTC) by hour-keeper)
官方文档以及.sh脚本都会推荐使用liberica-jdk作为运行时,但.exe会推荐下载Microsoft Build of Openjdk作为运行时
TTsdzb commented on 2025-04-06 05:24 (UTC) (edited on 2025-04-06 06:01 (UTC) by TTsdzb)
已修改。经测试官方启动脚本并不会寻找运行时外的 OpenJFX,因此我们直接移除了该依赖。如果你不喜欢下载,请自行安装具有 JavaFX 库的运行时,并在必要时手动指定
HMCL_JAVA_HOME
或JAVA_HOME
环境变量。TTsdzb commented on 2025-04-02 14:38 (UTC)
自 3.6.12-2 起使用官方的 Shell 脚本替代了原先的独立 jar 文件。如果你需要找回原先的配置,请将
$XDG_CONFIG_PATH/hmcl/hmcl.json
(一般为~/.config/hmcl/hmcl.json
)移动到~/.hmcl.json
。