| return codes [message #817160] |
Fri, 09 March 2012 13:22 |
Adrian Jones Messages: 1 Registered: March 2012 |
Junior Member |
|
|
I have a simple java program which runs and works as expected - except I do not know how to see the return code? I use system.exit(0) for success and system.exit(1) for failure - but within the eclipse IDE how do I see the value of the return code?
I want to be able to compile this code into a .jar and run with java -jar xxx.jar and see the return code on the DOS command line - I cannot get this to work (it always returns 0) so I wanted to ensure my program was exiting as I expected but just cannot find a way to see the exit code?
|
|
|
Powered by
FUDForum. Page generated in 0.01643 seconds