I have created a jar file for my standalone application. What i wanted is to create a short cut icon on the desktop for the application. Instead of user double clicking on the jar file, the user can click on the short cut icon to open the application.
You can also use a Java cross platform installer. They will create shell scripts and batch files to launch an application, and can also create shortcuts. Launch4j is a freeware installer, and install4j is a popular and well designed commercial product; worth the licensing cost. (The makers of install4j also have a product called exe4j which creates only a Windows install, so it has a lower licensing cost.) [ September 02, 2008: Message edited by: Mark Vedder ]