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!

How to shutdown a java standalone application

807569Jul 28 2006 — edited Jul 28 2006
Hi,

My problem is to stop a constantly running java standalone application from a different DOS or Unix prompt..

If I use System.exit(0) it will stop the application of the current window only and not that of already running application.

If I use ctrl + C it will stop the application but it is not advisable.

What is the procedure for systematically stopping an already running application.

Your help is kindly appreciated.

Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 25 2006
Added on Jul 28 2006
7 comments
243 views