Here's a java program that will create a batch file, the batch file is then used to create a shortcut to a java program