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

Standard console output from JLink?

tbuturajac
1-Newbie

Standard console output from JLink?

I have a question regarding Pro/Engineer i JLink. In Java application I'm sending message to standard output. For example: System.out.println("Some text"); Question is, where is output sent? I don't see message in console window. Pro/E is started from command line. I read http://www.ptc.com/cs/cs_21/howto/pjl1741/pjl1741.htm but it doesn't work as described in there. Platform is WinXP, Pro/E wf3 M180, jdk 1.5 Regards, Tomislav
2 REPLIES 2

I didn't see a post reply on this, so I thought I might take a crack at it. I believe this should be going to the std.out file in your directory (though I recall vaguely that it didn't seem to work that way). What I do normally is include a class reference in the catch block that has an output stream that prints to a file of my choosing. Kind of:
b7be93f3bf
Don't know if that helps anyone, but just thought I'd offer it up.
ngiacom
13-Aquamarine
(To:tbuturajac)

Standard output and error are redirected on /dev/null.

Workaround:

proe1.bat > logfile.txt 2> errfile.txt

Announcements