How to stop output to stdout  
Author Message
J黵gen Gerstacker





PostPosted: 2006-11-24 17:11:00 Top

java-programmer, How to stop output to stdout Hi,
I am using RXTXcomm to communicate with the serial interface. My
programs output this everytime the RXTXcomm library is loaded:


Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7


I don't like this output anytime the program runs. I tried to redirect
System.out but it didn't work. Does anybody know how to put RXTXcomm
into "silent mode"?

Thanks, Juergen

 
Mike Schilling





PostPosted: 2006-11-25 1:14:00 Top

java-programmer >> How to stop output to stdout
"J黵gen Gerstacker" <email***@***.com> wrote in message
news:email***@***.com...
> Hi,
> I am using RXTXcomm to communicate with the serial interface. My
> programs output this everytime the RXTXcomm library is loaded:
>
>
> Stable Library
> =========================================
> Native lib Version = RXTX-2.1-7
> Java lib Version = RXTX-2.1-7
>
>
> I don't like this output anytime the program runs. I tried to redirect
> System.out but it didn't work.

Did you try redirecting System.err too?


 
kevin.c.ott





PostPosted: 2006-11-28 18:57:00 Top

java-programmer >> How to stop output to stdout It is possible to redirect stderr and stdout. There is an example at

http://www.exampledepot.com/egs/java.lang/Redirect.html.