[External] : Re: jpackage: Support building native Windows MSIs

Alexey Semenyuk alexey.semenyuk at oracle.com
Tue Jul 1 19:10:21 UTC 2025


Hi Armin,

Create a PR. If you haven't signed the OCA yet, it will ask you to do 
so. After that, we will proceed with the review.

- Alexey

On 7/1/2025 2:46 PM, Armin Schrenk wrote:
>
> Great, thank you. I created a ticket in the issue tracker, see 
> https://bugs.openjdk.org/browse/JDK-8361207 
> <https://bugs.openjdk.org/browse/JDK-8361207.> .  The sanity checks 
> already finished with success. Are there more steps needed/any 
> requirements or can i create the PR now (after a rebase (-;) ?
>
> Best regards,
>
> Armin
>
> Am Montag, Juni 30, 2025 20:22 CEST, schrieb Alexey Semenyuk 
> <alexey.semenyuk at oracle.com>:
>
>> Armin,
>>
>> I will sponsor your patch.
>>
>> - Alexey
>>
>> On 6/30/2025 2:04 PM, Armin Schrenk wrote:
>> >
>> > Cool. The changes can be found in
>> > 
>> https://github.com/infeo/jdk/commit/77c50367e3fd7d677bfe2e805be2feafa30b0a37.
>> >
>> > Basically, the command line builder for wix3/wix4 is adjusted to set
>> > the arch flag to x64, x86 or arm64 depending on return values of some
>> > jdk.internal.util.Architecture::is[Architecture] methods. If the
>> > architecture is not supported by the wix Version, an
>> > IOException("Unsupported architecture") is thrown. I defined an
>> > package private enum to filter out already unsupported architectures.
>> >
>> > @"Alexey Semenyuk" I've read the contribution guide. So, the next step
>> > would be finding a Sponsor?
>> >
>> > Best regards,
>> >
>> > Armin
>> >
>> > Am Montag, Juni 30, 2025 17:59 CEST, schrieb Alexey Semenyuk
>> > <alexey.semenyuk at oracle.com>:
>> >
>> >> 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
>> >> >
>> >>
>> >
>> >
>> >
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20250701/4e82d69a/attachment.htm>


More information about the core-libs-dev mailing list