Submitted On 17-MAR-2000
-Xstdout - flag does not work either
Submitted On 04-JUN-2000
Still a bug in released SE 1.3
Submitted On 10-JUL-2000
On the Windows platform, I have got around this using a
little C "wrapper" program. The code is:
void main( int argc, char ** argv )
if( dup2( 1, 2 ) == -1 )
fprintf(stderr,"Can't _dup2 stderr" );
exit( 1 );
To use it, just type "stderr javac ............." (assuming
you call the source stderr.c. Whatever went to stderr
before, now goes to stdout.
Not ideal, but it works and my editor can capture the
output again. Yay!
but... Lets have a PROPER solution eh Sun?
Submitted On 15-AUG-2000
This is a real show stopper for Win/DOS users.
So back to 1.2.2 and abandon hope for printing of Applet graphics in the near future?
Submitted On 21-AUG-2000
Can cou make the little C "wrapper" public available until
sun fix this bug?
Submitted On 23-AUG-2000
I am using JDK 1.3, and I have found a work-around.(tested
for windows 2000).
javac Myprog.java 2>error.log
PLEASE NOTE: JDK6 is formerly known as Project Mustang