A
anton muhin
Hello, gurus!
Old JNI faq (http://java.sun.com/products/jdk/faq/jnifaq-old.html) says:
Note that System.err and System.out are not redirected by the vfprintf
hook. You may call the appropriate Java methods in the System class to
redirect these two Java streams.
If I read it correctly I should use System.setErr and System.setOut
methods, but which object I should pass in?
with the best regards,
anton.
Old JNI faq (http://java.sun.com/products/jdk/faq/jnifaq-old.html) says:
Note that System.err and System.out are not redirected by the vfprintf
hook. You may call the appropriate Java methods in the System class to
redirect these two Java streams.
If I read it correctly I should use System.setErr and System.setOut
methods, but which object I should pass in?
with the best regards,
anton.