Package Details: hmcl-bin 3.6.12-4

Git Clone URL: https://aur.archlinux.org/hmcl-bin.git (read-only, click to copy)
Package Base: hmcl-bin
Description: A Minecraft Launcher which is multi-functional, cross-platform and popular.
Upstream URL: https://github.com/huanghongxun/HMCL
Licenses: GPL3
Conflicts: hmcl
Provides: hmcl
Replaces: hmcl-stable-bin
Submitter: so1ar
Maintainer: TTsdzb (hour-keeper)
Last Packager: hour-keeper
Votes: 13
Popularity: 0.88
First Submitted: 2021-10-04 12:37 (UTC)
Last Updated: 2025-04-06 05:51 (UTC)

Dependencies (2)

Required by (0)

Sources (4)

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)

现在hmcl启动后如果没有javafx的话会自动联网下载,建议将java-openjfx改为可选依赖。

已修改。经测试官方启动脚本并不会寻找运行时外的 OpenJFX,因此我们直接移除了该依赖。如果你不喜欢下载,请自行安装具有 JavaFX 库的运行时,并在必要时手动指定 HMCL_JAVA_HOMEJAVA_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

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

yataro commented on 2024-02-21 12:21 (UTC)

By the way, the hmcl-new package uses a similar, but slightly different approach:

JAVAFX_HOME=$(dirname "$(pacman -Ql java-openjfx | grep -e '/javafx\..*\.jar$' | head -n 1 | cut -s -d ' ' -f '2-')")

Wanna try? Maybe it works better with other packages.

yataro commented on 2024-02-21 12:17 (UTC)

Look at zulu-jre-fx-bin, zulu-jdk-fx-bin, java-openjfx-bin they all provide java-openjfx

yataro commented on 2024-02-21 12:14 (UTC)

Lol, java-openjfx is not always exactly java-openjfx, any jfx package can provide java-openjfx.

$ pacman -Q java-openjfx
java-openjfx-bin 21-2

Bot-wxt1221 commented on 2024-02-21 12:08 (UTC)

I don't think 'pacman -Ql java-openjfx | grep javafx' is acceptable. Because users may install other javafx from AUR. I wonder if there's better choice.

yataro commented on 2024-02-21 12:04 (UTC)

Your latest script update has a JAVA_HOME variable defined, but you never use or export it. I'm sorry, but I don't think you know what you're doing... I'd love to help with the package, but I need some information.

yataro commented on 2024-02-21 11:58 (UTC)

I mean you removed the openjfx dependency (HMCL can download openjfx by itself, but is not really an acceptable solution, if I want to use installed openjfx). What should pacman -Ql java-runtime | grep javafx do in the start script? It echoes nothing on my system (openjfx installed). I believe you should bring back pacman -Ql java-openjfx | grep javafx hack, look for my previous comment.

Bot-wxt1221 commented on 2024-02-21 11:25 (UTC) (edited on 2024-02-21 11:27 (UTC) by Bot-wxt1221)

What do you mean? Feel free to give any advices.

@yataro

yataro commented on 2024-02-21 11:23 (UTC)

Bruh, bro, you ruined the package

Bot-wxt1221 commented on 2024-02-20 07:48 (UTC)

妈妈东西

HinataAoi commented on 2024-02-20 07:48 (UTC)

校验值写错了😂