How to create shortcut icon for java program

java, swing

Solution

You need to look around for Java Windows Installers, they have functionality to create desktop shortcuts. Take a look at this article and this one too.

Install4J is my personal favorite

Problem

Hi I have created executable jar of my java program i want to create shortcut icon for that jar. Means may be my jar is in any other memory location of hard drive(eg- D or E drive for windows) but my icon must be at Desktop. So that if i double click on icon from desktop then my application will start. How to create this Thanks Sunil Kumar Sahoo

Original source