Closing running jar file ?

M

Mike Schilling

Grzesiek said:
Hi,

I have two jar files. How can i terminate one from the other?

I have no idea what you're asking, and I don't think I'm alone. What are
you trying to do?
 
R

Roedy Green

I have two jar files. How can i terminate one from the other?

The simplest way would be for A to create a "please stop" file and
have B check for its existence every once in a while.

A fancier version is to set up a socket connection, and send a please
stop message. Each would sit waiting for a such a message from the
other with a blocked thread.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top