Currenty JVM's stdout and stderr are sent to the terminals where the application is started from. There is a way to set stdout/stderr programmatically (by using setOutputStream()) for the java side but the JVMs stdout and stderr are not redirected to the stream obtained from getOutputStream(). This is a problem and makes application debugging difficult and if developers write their native code to use redirection, that makes code non-portable across the platforms.
There is a need for a way to programcatically set stdout/stderr for JVMs messages.
There is a need for a way to programcatically set stdout/stderr for JVMs messages.
- duplicates
-
JDK-4497873 java needs "-Xstderr" option (cf. 4380614, 4465402) [win9x/ME]
- Closed