Activate an executable application on the client side

We build an autohotkey for deployment. This was ensambled in an exe and place on the clients computer. We build a wiki in html that runs locally as well in html and we want to use javascript to activate the executable. How can we do a button to activate the application using Java