I made a program and I run it with a .bat file. This works fine but if my program crashes and it does a System.exit(0) the cmd screen closes at once. I can't read the exception message thats printed on the cmd. How can I make sure the cmd stays open?
I already tried running with java instead of javaw, that doenst solve the problem.