HMCL-dev / HMCL

A Minecraft Launcher which is multi-functional, cross-platform and popular
https://hmcl.huangyuhui.net
GNU General Public License v3.0
6.89k stars 675 forks source link

[Bug] HMCL在WoA平台上自动下载了x64的JRE #3108

Closed KamijoToma closed 1 week ago

KamijoToma commented 4 months ago

平台 | Platform

Windows 11, arm64

问题描述 | Problem Description

  1. 首先在没有安装Java21的环境中以Java17启动HMCL,并安装一个1.20.6版本的MC
  2. 点击启动新安装的MC,HMCL提示是否下载Java21 自动下载Java界面
  3. 点击“是”,等待游戏启动
  4. 启动后发现下载了x64的Java21,而非arm64架构的。而Microsoft提供Java21的arm64构建,在这里

任务管理器界面 通过任务管理器显示MC正在运行在x64的Java上。

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

hmcl-exported-logs-2024-06-08T17-55-36.log

allMagicNB commented 4 months ago

让我看看微软那边都有些啥 https://launchermeta.mojang.com/v1/products/java-runtime/2ec0cc96c44e5a76b9c8b7c39df7210883d12871/all.json

KamijoToma commented 4 months ago

让我看看微软那边都有些啥 https://launchermeta.mojang.com/v1/products/java-runtime/2ec0cc96c44e5a76b9c8b7c39df7210883d12871/all.json

在L303似乎是有windows-arm64字样的,里面也有Java21的条目,不知道为何没下载

Glavo commented 4 months ago

2988 合并后会修复