Can i check for a particular exe

HiiPlz tell me if i can check the running of particular exe on the client machine. If it is not available i would like do download it from the server n then run it.Can i do it through web start tech.Thanks
[240 byte] By [kapessa] at [2007-11-27 3:31:20]
# 1

Sure. Install it* in a known place when first downloading,

using the JNLP installer element. Make a note of the

path to where it is installed, and store that using the

PersistenceService (PS).

Call the .exe (or .so, as appropriate) at runtime,

with the path retrieved from the PS, using the

Runtime.exec() method to get a Process.

* For extra points, ask the user at installation if they

have a default ..PDF viewer, whatever.. and simply

allow them to browse to the one already installed,

rather than download and install the one from the

site. Then just store that 'browsed' path to the PS

and proceed as above.

AndrewThompson64a at 2007-7-12 8:34:20 > top of Java-index,Desktop,Deploying...
# 2

But can i find out whether that particular exe is already running on the client machine. e.g. in taskmanager.

If not then search the exe file in the particular path on the client machine.

1. If exe already there then execute

2. if exe is not there then download the exe and execute.

Thanks

kapessa at 2007-7-12 8:34:20 > top of Java-index,Desktop,Deploying...