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

Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X

Standard console output from JLink?

tbuturajac
2-Guest

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
14-Alexandrite
(To:tbuturajac)

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

Workaround:

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

Top Tags