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

Alexey Semenyuk alexey.semenyuk at oracle.com
Thu Oct 23 11:56:18 UTC 2025


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



More information about the core-libs-dev mailing list