Windows Shortcut to JAR

I've searched a long time for this and I really can't find the answer. I distribute my program as a zip file with three folders, namely bin, sources and javadoc. The bin folder contains the jar file and a custom ico file.

I'm used to Unix-like systems so I created a simple shell script which I put in the main folder. I now want to create a windows shortcut with a custom icon which opens the jar file (located in the bin directory). The problem I have is that I can't input relative paths when I create the shortcut.

If I zip it all together and unzip it on another machine the custum icon is not displayed and windows first searches for the jar file and eventually finds it and opens the jar file.

How do I create a proper windows shortcut, which displays the icon and doesn't search for the jar file?

[836 byte] By [phalkonea] at [2007-11-27 2:44:22]
# 1
Doesn't anyone know a proper solution? The only solution I found is to use a batch file and convert this file to a ghost exe with a custom icon. This solution works, but is not very elegant.
phalkonea at 2007-7-12 3:10:54 > top of Java-index,Desktop,Deploying...