I'm looking for a way to create shortcuts in java for WinXP, Vista, and Win7. In addition to the shortcut itself, I need to be able to specify the icon of the shortcut.
The solution can use command line commands, however I cannot use a solution that is GPL.
If WinXP creates shortcuts differently than Vista/7, than I'm okay with adding conditional logic (I'll just need to know how to do it for both cases).
Background
The shortcut creation will happen during the install process. The installer we are using is Java based, which is why I'm looking for the solution in Java. So it is important to note that the shortcut can vary, based on the user's selected install directory. If there is not a clean way to do this, then I will have to go with the recommend suggestion of creating a VBScript or C# program to do the work for me, then call that from my java code. I would prefer a simpler solution though.

