HMCL-dev / HMCL-dev/HMCL

[Bug] 部分 Java 环境中无法识别 java.exe 的位置

Open
#4,157 6 comments 0 reactions 0 assignees View on GitHub

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

来自用户群的崩溃报告:

Image

当且仅当 Path.of(System.getProperty("java.home"), "bin", "java.exe") 不存在时才会发生此问题。

我们应当调查什么 Java 环境中会出现这个问题。

启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

见上节

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the launcher crash report and the condition involving System.getProperty("java.home") and the java.exe path. Investigate which Java environments lack that path and reproduce the failure using the supplied launcher logs. Done means identifying the affected environment conditions and documenting the resulting behavior or required scope.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.