[Bug] HCML 识别不到已经安装的 Java,无法启动
Open
Nobody has claimed this yet.
bug
- Dominant language
- Java
- Stars
- 10.1k
- Forks
- 934
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 82
Description
问题描述 | Bug Description
使用sdkman安装任意Java,启动 HMCL-3.6.18.297.sh,就可以看到以下提示:
我使用的是 Ubuntu 25.04 x86_64,尝试了dragonwell21 与 Liberica25 两种 JDK,图里就是 Liberica25
启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File
无,HMCL-3.6.18.297.sh 所处的文件夹里也没有 .hmcl
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by launching HMCL-3.6.18.297.sh on Ubuntu 25.04 x86_64 after installing Dragonwell 21 or Liberica 25 with SDKMAN. Start at the launcher startup and Java-discovery entry point, then compare the detected installation locations. Done means the installed Java is recognized and HMCL starts successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, ubuntu
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100