自 3.6.12-2 起使用官方的 Shell 脚本替代了原先的独立 jar 文件。如果你需要找回原先的配置,请将 $XDG_CONFIG_PATH/hmcl/hmcl.json
(一般为 ~/.config/hmcl/hmcl.json
)移动到 ~/.hmcl.json
。
Search Criteria
Package Details: hmcl-bin 3.6.12-2
Package Actions
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: | 1.27 |
First Submitted: | 2021-10-04 12:37 (UTC) |
Last Updated: | 2025-04-02 16:18 (UTC) |
Dependencies (3)
- gtk2 (gtk2-patched-filechooser-icon-viewAUR)
- java-openjfxAUR (jre10AUR, jdk10AUR, jdk7AUR, jre7AUR, java11-openjfxAUR, java8-openjfxAUR, liberica-nik-24-full-binAUR, java-openjfxAUR, java21-openjfxAUR, zulu-jdk-fx-binAUR, java17-openjfx-binAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jre-zulu-fx-binAUR, java21-openjfx-binAUR, liberica-jdk-21-full-binAUR, jre-zulu-fxAUR, jre8AUR, jdk8AUR, liberica-jdk-17-full-binAUR, zulu-17-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-liberica-full-binAUR, java-openjfx-binAUR, liberica-jdk-full-binAUR, java-openjfx-nowebkitAUR, java17-openjfxAUR)
- java-runtime (jre10AUR, jre12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, jre7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jre11-jbr-xdgAUR, jre16-openjdkAUR, jre14-openjdkAUR, jre15AUR, jre14AUR, jre13AUR, jre16AUR, jre18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jre-openj9AUR, jdk11-graalvm-ee-binAUR, jre12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jre13-openjdkAUR, jre15-openjdkAUR, jdk21-graalvm-binAUR, jre17-jetbrainsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jre21-jetbrains-gitAUR, jdk21-jetbrains-gitAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jre19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jre21-jetbrainsAUR, jdk17-zulu-prime-binAUR, jdk8-perfAUR, zulu-jre-fx-binAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk11-openj9-binAUR, jre-openjdk-wakefieldAUR, jdk-openjdk-wakefieldAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-android-studioAUR, zing-8-binAUR, zing-21-binAUR, jdk-openj9-binAUR, zulu-11-binAUR, jdk8-graalvm-ee-binAUR, jdk8-dragonwell-extendedAUR, jdk21-jetbrains-binAUR, jre11AUR, jdk21-temurinAUR, jdk17-temurinAUR, jdk11-temurinAUR, jre17AUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk21-graalvm-ee-binAUR, jdk8-openj9-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jre21-zulu-binAUR, jre17-zulu-binAUR, jre-zuluAUR, jre-zulu-fxAUR, jdk8-temurinAUR, zulu-21-binAUR, jre8AUR, jdk8AUR, jdk21-openj9-binAUR, jdk17-openj9-binAUR, zulu-17-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk23-graalvm-ee-binAUR, jre-ltsAUR, jdk-ltsAUR, liberica-jdk-11-full-binAUR, liberica-jdk-17-full-binAUR, zulu-17-fx-binAUR, openjdk-zulu8-ca-fx-binAUR, openjdk-zulu11-ca-fx-binAUR, openjdk-zulu17-ca-fx-binAUR, openjdk-zulu21-ca-fx-binAUR, openjdk-liberica8-full-binAUR, openjdk-liberica11-full-binAUR, openjdk-liberica17-full-binAUR, openjdk-liberica21-full-binAUR, java-openjdk-binAUR, openjdk-zulu-ca-fx-binAUR, openjdk-liberica-full-binAUR, jreAUR, jdkAUR, jdk-temurinAUR, liberica-jdk-full-binAUR, zulu-24-binAUR, jre-jetbrainsAUR, java-openjdk-ea-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jre-openjdk, jre11-openjdk, jre17-openjdk, jre21-openjdk, jre8-openjdk)
Required by (0)
Sources (4)
TTsdzb commented on 2025-04-02 14:38 (UTC)
hour-keeper commented on 2025-04-01 12:08 (UTC) (edited on 2025-04-01 13:04 (UTC) by hour-keeper)
@TTsdzb 发现我现在接手维护的hmcl-stable-bin
和这个包定位重合了,希望同这个包合并,如果您在合并后不使用官方shell脚本的话,我再另开一个使用官方脚本的包
TTsdzb commented on 2024-05-26 15:32 (UTC) (edited on 2024-05-26 15:34 (UTC) by TTsdzb)
@SCGM java-openjfx
不能运行可能是上游问题。我用 java-openjfx-bin
(版本 22-2
)提供该依赖,依然可以正常运行。
部分用户可能已经安装了能提供 openjfx 的环境,如果更改此依赖,他们可能要安装额外的 Java,这样会比较麻烦。
SCGM commented on 2024-05-20 09:13 (UTC)
应该把依赖和脚本里的java-openjfx
改成java17-openjfx
,否则不能运行
HinataAoi commented on 2024-03-15 04:10 (UTC)
@c1trus 我和你一样,因为hmcl-launch-script里面写的有问题,当找到本地的javafx时的启动指令变成了用默认java调用java-openjfx.可以手动改一下 感觉不用直接移除openjfx的依赖,改成可选依赖就行
c1trus commented on 2024-03-13 03:08 (UTC)
考虑到现在 hmcl 对于缺失 javafx 的情况会自动下载所需的资源,我认为直接去除 java-openjfx 并不考虑任何搜索是一个可行的措施
但是 JAVA_HOME
和 java 必须配套,请至少 export PATH="$JAVA_HOME/bin:$PATH"
c1trus commented on 2024-03-13 02:53 (UTC)
默认的 java 与找到的包含 java-openjfx 的 java 不一致导致问题。
❯ which java
/usr/bin/java
❯ pacman -Qo java
/usr/bin/java 由 java-runtime-common 3-5 所拥有
❯ pacman -Ql java-openjfx | grep javafx | head -n 1 | cut -d / -f 5
liberica-jdk-full
❯ hmcl-bin
Error occurred during initialization of boot layer
java.lang.module.FindException: Module javafx.base not found
❯ /usr/lib/jvm/liberica-jdk-full/bin/java -jar /usr/share/java/hmcl-bin/hmcl-bin.jar
[10:48:47] [org.jackhuang.hmcl.Launcher.main/INFO] *** HMCL 3.5.6.241 ***
......(正常启动界面)
如果说通过设置 JAVA_HOME
本应当可以正确搜索,那么版本不一致可能是问题所在
❯ java -version
java version "17.0.10" 2024-01-16 LTS
Java(TM) SE Runtime Environment (build 17.0.10+11-LTS-240)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.10+11-LTS-240, mixed mode, sharing)
❯ /usr/lib/jvm/liberica-jdk-full/bin/java -version
openjdk version "21.0.2" 2024-01-16 LTS
OpenJDK Runtime Environment (build 21.0.2+14-LTS)
OpenJDK 64-Bit Server VM (build 21.0.2+14-LTS, mixed mode, sharing)
Eeviriyi commented on 2024-03-11 01:31 (UTC)
please update the sha256sum
TTsdzb commented on 2024-03-10 02:15 (UTC)
hmcl-launch-script
的 sha256sum 不正确导致近两个版本均无法自动构建,请您修复一下,感谢
yataro commented on 2024-03-06 16:29 (UTC)
Could you fix the hashsums?
Pinned Comments
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
。