I am trying to start web start application locally by means of javaws.exe. But even starting local jnlp file javaws always start the new VM. How to avoid it?
posted 6 years ago
I am not sure if this is what you really want (you gave too little information), but javax.jnlp.SingleInstanceService and javax.jnlp.SingleInstanceListener might be what you need. Make your main application class implement this interface, and then whenever a new instance of this app is to be started, and there is a running instance already, the running instance's callback method will be invoked.