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!

avoiding system.exit(0)

UmerNov 4 2011 — edited Nov 5 2011
Hi
I am using an external .jar file in my java program for parsing a file. My problem is that its main method has System.exit statement in the end i.e after parsing it exits the application. So when i use it my application also gets terminated. I have decompiled it and the only accessible method is main method. Is there any way to avoid this system.exit(0) ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 3 2011
Added on Nov 4 2011
13 comments
1,495 views