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!

Java multiple instances and mutex

807588Jul 20 2009 — edited Jul 20 2009
Hello,

i have for example 5 instances with different names (but the same application). If i start a new instance, i will prove if a instance with this name is already started.
in C# i can do this with mutex, but i don't find something in java?
For example i can set a lock on instances with this name?

Is the a chance in java?

I don't find anything with the search, maybe false keywords?

Thanks for answers

ph0e
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 17 2009
Added on Jul 20 2009
4 comments
348 views