pas
pas

Reputation: 119

Launch4j does not reflect the system outputs

I am using Launch4j to create executable file of my application jar. I have put some system outputs (using System.out.println) which are very helpful for debugging (which I see when I run the jar file). But when I am using Launch4j to "test wrapper", I do not see any of these system outputs. Though my application runs properly, the system outputs will be very helpful. I found a similar kind of unanswered question here http://sourceforge.net/p/launch4j/discussion/332684/thread/f65d1979/#a845

Thank you for the help.

Upvotes: 1

Views: 3081

Answers (1)

exe-cute-table
exe-cute-table

Reputation: 128

I got the same problem and found what I needed in this post:

launch4j exe has nothing to say for itself, anyone got a suggestion?

In the Launch4j configuration GUI, set the "header type" to "console" in the "Header" tab.

Hope it will help you.

Upvotes: 7

Related Questions