Re: how to prevent a jar executed only once in a machine
- From: dsjoblom@xxxxxx
- Date: 30 Jun 2006 11:54:16 -0700
John_Woo wrote:
Hi,
If my.jar is a swing UI app (or just a simple app), I'm wondering if
it's possible or how, that
this my.jar can be executed only once (no multi-session) in same
machine <or in same folder>?
Can any one tell?
In addition to the more traditional advice, if you happen to be
deploying your app with java webstart, you can achieve this
functionality easily. See
http://java.sun.com/j2se/1.5.0/docs/guide/javaws/jnlp/ and look up
SingeInstanceListener and SingleInstanceService.
Regards,
Daniel Sjöblom
.
- Follow-Ups:
- Re: how to prevent a jar executed only once in a machine
- From: John_Woo
- Re: how to prevent a jar executed only once in a machine
- References:
- how to prevent a jar executed only once in a machine
- From: John_Woo
- how to prevent a jar executed only once in a machine
- Prev by Date: Re: Tomcat Newbie, need help with caching
- Next by Date: Re: Encoding conversion from UTF to ISO-8859-7
- Previous by thread: Re: how to prevent a jar executed only once in a machine
- Next by thread: Re: how to prevent a jar executed only once in a machine
- Index(es):
Relevant Pages
|