Hex-Dragon / PCL2

Plain Craft Launcher(我的世界启动器 PCL)的源代码,为支持社区研究而公开。
https://afdian.com/a/LTCat
Other
2.56k stars 185 forks source link

libjlw-aarch64-1.4.0.dll: %1 不是有效的 Win32 应用程序。 #4396

Closed Sunch233 closed 2 months ago

Sunch233 commented 2 months ago

检查项

描述

在Windows 11 ARM上使用PCL,并且使用Microsoft Build of OpenJDK 17/21 aarch64构建启动1.16以上版本,始终报错libjlw-aarch64-1.4.0.dll: %1 不是有效的 Win32 应用程序。

PCL 错误报告、日志与附件

错误报告-2024-8-3_0.58.07.zip

HMCL 启动脚本

HMCL启动脚本.zip

3gf8jv4dv commented 2 months ago

@LTCatt @00ll00

JingHai-Lingyun commented 2 months ago

JavaWrapper 对 ARM 架构不兼容问题

00ll00 commented 2 months ago

NO😩

00ll00 commented 2 months ago

当库加载失败时使用别的方式获取启动命令行,大概能够修好(搭的 win10 arm64 环境有问题 powershell 用不了,只在本地测了)

更新wrapper

3gf8jv4dv commented 2 months ago

当库加载失败时使用别的方式获取启动命令行,大概能够修好(搭的 win10 arm64 环境有问题 powershell 用不了,只在本地测了)

WMIC? It is disabled by default on newer Windows (for this year’s commercial releases, it is 24H2). Should we consider using alternatives?

WMI command line (WMIC) utility deprecation: Next steps | Windows IT Pro blog

00ll00 commented 2 months ago

当库加载失败时使用别的方式获取启动命令行,大概能够修好(搭的 win10 arm64 环境有问题 powershell 用不了,只在本地测了)

WMIC? It is disabled by default on newer Windows (for this year’s commercial releases, it is 24H2). Should we consider using alternatives?

WMI command line (WMIC) utility deprecation: Next steps | Windows IT Pro blog

确实有看到,但是新的那一套东西没看懂怎么用💦

allMagicNB commented 2 months ago

当库加载失败时使用别的方式获取启动命令行,大概能够修好(搭的 win10 arm64 环境有问题 powershell 用不了,只在本地测了)

WMIC? It is disabled by default on newer Windows (for this year’s commercial releases, it is 24H2). Should we consider using alternatives?

WMI command line (WMIC) utility deprecation: Next steps | Windows IT Pro blog

确实有看到,但是新的那一套东西没看懂怎么用💦

说白了要用 PowerShell,Vista 直接爆炸。

00ll00 commented 2 months ago

当库加载失败时使用别的方式获取启动命令行,大概能够修好(搭的 win10 arm64 环境有问题 powershell 用不了,只在本地测了)

WMIC? It is disabled by default on newer Windows (for this year’s commercial releases, it is 24H2). Should we consider using alternatives?

WMI command line (WMIC) utility deprecation: Next steps | Windows IT Pro blog

已改为使用 CIM cmdlet 更新wrapper

感谢 @allMagicNB 的协助