Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change JavaFx native Bundle exe icon

I am trying to chance the icon of the exe file created native bundling of javafx packaging but it still contains the default icon. Please suggest

 primaryStage.getIcons().add(FileUtility.loadImage("icon.png"));

did not help, it only changes the title bar and task bar icon.

default icons

The ico file still gets generated and icon of the exe files remains the default one

I also tried to assign an icon in the project properties-> Deployment-> icon but did not help

like image 918
Neil Avatar asked Nov 12 '12 10:11

Neil


1 Answers

I believe I have encountered the same issue and the solution is described in the following thread.

As a side note - neither specifying your icon in the build.xml file or via the project's options in the deployment section is going to work thus far, but it seems to be fixed in the upcoming release of 7u10.

like image 105
XXL Avatar answered Sep 20 '22 23:09

XXL