[jpackage] Windows 11 25H2 ignores the win-menu-group option

Davide Perini perini.davide at dpsoftware.org
Thu Oct 23 15:07:35 UTC 2025



Hi Alexey,

thanks for the answer.

I'm using the latest from
Temurin (25.0.0+36-LTS)

I have tried the latest 25 from Zulu and same problem.

Thanks
Davide

On 2025-10-23 13:56, Alexey Semenyuk wrote:

> Hi Davide,
> 
> It looks like a jpackage issue. What version of jpackage do you use?
> 
> - Alexey
> 
> On 10/23/2025 6:23 AM, Davide Perini wrote:
> 
>> Hi there,
>> I'm using Jpackage with a command like this:
>> 
>> jpackage -i target --type exe --resource-dir build_tools/wix \
>> --main-class org.dpsoftware.JavaFXStarter \
>> --main-jar FireflyLuciferin-jar-with-dependencies.jar \
>> --icon data/img/java_fast_screen_capture_logo.ico \
>> --win-menu \
>> --win-menu-group Entertainment \
>> --win-shortcut \
>> --win-shortcut-prompt \
>> --win-dir-chooser \
>> --win-upgrade-uuid myid \
>> --copyright "Davide Perini" \
>> --name "Firefly Luciferin" \
>> --vendor DPsoftware \
>> --app-version "2.0.0" \
>> --java-options "-XX:+UseZGC -XX:+UseStringDeduplication -Xms64m 
>> -Xmx1024m \
>> --add-modules=jdk.incubator.vector 
>> --enable-native-access=org.dpsoftware \
>> --enable-native-access=ALL-UNNAMED --enable-native-access=com.sun.jna 
>> \
>> --enable-native-access=javafx.graphics 
>> --enable-native-access=javafx.web \
>> --enable-native-access=com.fazecast.jSerialComm"
>> 
>> My main.wxs file can be found here:
>> https://github.com/sblantipodi/build_tools/blob/4f99c29440d27f3ff800d2cf2698f80433bce64c/wix/main.wxs 
>> It's the default one generated by jpackage, with a small modification 
>> that adds a checkbox to launch the app after installation.
>> 
>> As you can see, the --win-menu-group is set to "Entertainment",
>> but on Windows 11 25H2, my app still appears under the "Other" 
>> category in the Start menu.
>> 
>> Is this a jpackage issue?
>> 
>> Thanks
>> Davide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20251023/0c98a057/attachment.htm>


More information about the core-libs-dev mailing list