Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exit status returned by Java utility

807580Jul 9 2010 — edited Jul 9 2010
I am executing a Java utility (.class file) on Windows which is failing because of syntax error.

However the exit status is still 0.

I believe if any failure occurs, Java should always return non-zero, or do I need to handle the exit status by exceptional handling.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 6 2010
Added on Jul 9 2010
2 comments
377 views