I'm using the JavaFX-Gradle-plugin to build the distribute-able binaries and the installer of a JavaFX application. When my application runs, I'm able to set the icon this way:
stage.getIcons().add(new Image(this.getClass().getResourceAsStream("/isotype.png")));
which correctly sets the icon for the running application:
as well as the task bar:
But how do I set the icons for the start menu:
and potentially other places:




There is a open pull request documenting this here
It says:
and for Microsoft Windows in particular:
Despite what it says there, the correct path is
src/main/deploy/packages/windowsas show in the adjusted-launcher-icon example.