I want to start a java program in a Windows console from a click to a shortcut in the Quicklaunch area.
How do I do this?
I can start the console (shortcut target: C:\Windows\System32\cmd.exe) in the desired directory (C:\somewhere) and then start the Java program by typing "java -jar myjar.jar".
I just want to avoid this typing, but the console should stay open. If I use java directly as target, the program runs invisibly (as expected).