Making a shortcut run a java program

How do you make a windows shortcut that executes a java program?

Thanks.

Make a shortcut to javaw.exe and add the programm itself.

Ok. Let’s asume I have a programm called “Boot” and it’s stuff is in “C:\dls\java\calc” then I make a shortcut like this:

Target: C:\Programme\Java\j2re1.4.1_02\bin\javaw.exe Boot

Exect in: C:\dls\java\calc\

That’s it basically. Well making a doubleclickable jar file is usually nicer :]