harish telanakula
harish telanakula

Reputation: 13

run exe file in user system from the browser using java

I have an exe file in the user system . When ever user clicks on a button in the application(application runs in server machine) from the browser I need to execute the exe file in the user system .

Could you please help me to do it .

Upvotes: 0

Views: 193

Answers (2)

Mehdi Benmesssaoud
Mehdi Benmesssaoud

Reputation: 534

It depends if your exe file supports browser links via a specific protocole.

For example, this is used to launch skype with JavaScript

window.location = 'skype:user?chat';

Upvotes: 1

user7655213
user7655213

Reputation:

This would be possible using an link or similar. If the executable you wish to run is a program your company requires the user to download and install from your site, you could also try installing a file system handler.

Both of these ways require user permission (which is an obvious necessity for security reasons).

Upvotes: 0

Related Questions