Hi Armin,
Your ARM64 MSI contribution/enhancement for the jpackage will be much
appreciated.
- Alexey
On 6/30/2025 10:09 AM, Armin Schrenk wrote:
Hello everyone,
does jpackage support building native ARM64 MSI packages? Building an
jpackage MSI on Windows ARM64, the resulting package contains x64 DLLs.
I looked further into the JDK code and apparently, the wix Command
builder (WixPipeline.java) only supports x86 or x64 (see
https://github.com/openjdk/jdk/blob/a84946dde4283fd423ef00ce3176bbe1985d7046/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/WixPipeline.java#L211).
According to the wix docs, aarch64 is supported since version 4.0:
https://docs.firegiant.com/wix/tools/wixexe/#build
I already created a patched JDK locally, but maybe this can be a
contribution/enhancement for the JDK in general.
Best regards,
Armin Schrenk