Java: If I have a instance of my program running, how do I detect that, and then close the old one(s)
<p>I only want one instance of my program running. But I want it to close the older ones, if they ore open.</p>

<p>This is in Java.</p>
