Is there a way to know when a specific process is "stuck" in Java?
I'm running an external application from my java program. Sometimes, this app hangs. I would like to know when this app stops working so I can kill it from my code. I'm thinking of some type of monitoring from a different thread in my code.
Any toughts?