How to make a shortcut to Java desktop application?

Praful picture Praful · Mar 8, 2013 · Viewed 7.9k times · Source

I have made a desktop application in Java (using JDBC and Swing) using Eclipse. I want to make a shortcut to this application (an icon). When the icon is double clicked, the application will run.

How to do it?

Answer

Andrew Thompson picture Andrew Thompson · Mar 8, 2013

Deploy the app. using Java Web Start. Not only does it have a simple system for installing desk-top and menu item shortcuts (on supported OS) for an app. with icons, but also offers the IntegrationService that allows the shortcuts to be examined/installed programmatically.

For more details see this answer. The 2 icons on the right hand side (JotPad & StarZoom) were installed by JWS.