cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

[Summary] JLink--system.out...where?

MarkRafn
1-Newbie

[Summary] JLink--system.out...where?

Thanks to all for the replies...below is the summary to accomplish what I
needed. Both worked, Thanks!

1. I use to redirect the output stream from within my J-link
applications. If you insert this code in the first J-link application that
is started, it sets the output streams for the hole session of ProE, which
means all other J-link applications as well.

try
{ System.setOut(new PrintStream(new
FileOutputStream("c:\\protrail\\jlink_system_out.txt")));
System.setErr(new PrintStream(new
FileOutputStream("c:\\protrail\\jlink_system_err.txt")));
}
catch(IOException io)
{ io.printStackTrace();
}


2. If you redirect std.out from Proe when you start it up, then your Jlink
output will be written there. For example proe > out.txt.
0 REPLIES 0
Announcements
Attention: Creo 7.0 Customers
Please consider upgrading
End of Life announcement here.

NEW Creo+ Topics:
PTC Control Center
Creo+ Portal
Real-time Collaboration