in command prompt I execute this line
java -jar <path_to_jd_gui_jar> <path_to_jar_file>
which opens a the jd-gui (jar viewer) to view a jar file. But if I close the cmd window it automatically closes the jd-gui window too. How can I execute this command so that the window that opens is independed from the command prompt?
I m guessing it has to start in a new process.
You may use the Windows START command:
start "" java -jar <path_to_jd_gui_jar> <path_to_jar_file>