Name: rmT116609 Date: 10/30/2002
FULL PRODUCT VERSION :
java version "1.4.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode)
A DESCRIPTION OF THE PROBLEM :
The javac command line tool has an excellent option, -Xstdout <someFileName>
which allows you to specify a redirection of its output to a named file, as opposed to merely going to the console by default.
The java command (and other commands, like javadoc etc) needs the exact same option.
CUSTOMER WORKAROUND :
Sure, you can modify your Java code to redirect System.out, but what if you do not have access to the source? Or do not want to modify it? Introducing a -Xstdout option at the command line would make things simpler.
(Review ID: 166382)