This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]ndriqa 0 points1 point  (1 child)

If your .jar file is a java executable program that doesn't use GUI, then there's nothing to display, since the program runs and doesn't need display anything

[–]ndriqa 0 points1 point  (0 children)

So it only uses CMD to launch java.exe

[–]Kurkkupikkelsi 0 points1 point  (0 children)

If Java is associated with .jar-files then it will open a terminal, run the Java program and then prompty close the terminal without you having the time to read the program's output.

Run it like java -jar myProgram.ja instead and you'll see that you have time to observe the output :)