Search code examples
eclipseeclipse-rcprcpe4

How to change the icon from the executable generated from an E4 RCP product?


I have a standalone application in Eclipse 4 RCP.

When exporting it as a product, as shown below:

Export wizard

The following structure is generated:

Generated structure

How to change the icon of the executable aplicacao.exe?

I already tried to put images in the Launching tab of the .product file, but without success.

Launching tab


Solution

  • With this icon file you can find out if the problem is caused by the icon file or by the *.product file:

    • If it doesn't work even with this icon file, try to create a new *.product file from scratch.
    • If it works, make sure in your ICO file, the 256×256-pixel image is stored uncompressed, not as compressed PNG.

    OBS: Maybe it's a icon cache problem. Change the Launcher Name in the .product Launching tab or rebuild the OS's icon cache can solve the problem.