Hi,
i'm trying to use the System.err.println("...."); in my program in a catch block, but how do i specify the error stream in the
java command when i invoke my program. by default, if i don't mention anything, i suppose the error stream is the same as the output stream. But i want to log into a file.. like an error log file.
this is the instruction given by the java command help
-D<name>=<value>
set a system property
can anyone pls identify the correct name of the error stream property?
i tried this to run my java program "Test.java",
java -Derror=error.log
Test.. one of my shots in the dark.. but no good. :-)
nish