I have a java application embedded in a executable using JSMooth. JSMooth eats (doesnt 开发者_如何学JAVAdisplay) all the output from system.out and system.err. Is there a way I can turn logging on in the JRE to output all stacktraces when an exception is thrown?
Or someway that I can see the stacktrace for the exception being thrown?
you can use a logger like log4j to have it output all those messages to a log file.
精彩评论