Using JSW 3.3.7 to launch a desktop application. When the User tries to pin the *running application* to the Taskbar of Windows 7, windows unfortunately makes a shortcut to the java.exe file instead of the wrapper or the wrappers shortcut.
As of this, the application can not be launched anymore from this pinned state.
If the user pins the application using the shortcut in the startmenu or the wrapper.exe, it works fine (since windows creates the shortxcut to the wrapper.exe in this case).
Maybe, there is some way to "teach" windows to not use the java-exe for the pinned taskbar. Maybe there is some API to get knowledge of when windows tries to make a running program pinned.