Using System.out.println is worse than I thought, though - David Johnson points out that it can really slow your system down. Yuck!
One other thing to consider - if there is any possibility, any possibility at all, that you might want to run something as a Windows service, then you can't use stdin, stdout, or stderr at all. (BTW, if you do need to run Java as a service, check out jsrvany.)Posted to Java by Simon Brunning at December 12, 2002 12:40 PM