[imagej][bunwarpj] Commandline call solution (closes thread)


min read

My profile

Share this:

Running bUnwarpJ from command line or as s Servlet?

I experienced that every thread was auto closed.
Turns out to be that the main method
[code:1:db5cb81ac1]public static void main[/code:1:db5cb81ac1]
has an explicit [code:1:db5cb81ac1]System.exit(0);[/code:1:db5cb81ac1] ..

To resolve this .. simply remove or comment out this line in source.

Like this:
[code:1:db5cb81ac1] // Ramon Fincken : No need to exit when called from servlet http://www.ramonfincken.com/permalink/topic239.html
// System.exit(0);[/code:1:db5cb81ac1]

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *