title: Replace Applet in downloading and executing a file
body: <p>I have an application that has an applet that does two simple things:</p>
  
  <ul>
  <li>Download an executable jar file from our server (if the user doesn't already have it) to an specific folder in the user's PC</li>
  <li>Execute the jar file with the corresponding parameters</li>
  </ul>
  
  <p>This jar file monitors an Office file for changes and send it back to our server.</p>
  
  <p>The problem is the war Chrome is creating with Java with this NPAPI thing. So I have until September to think of an alternate technology or stop the Chrome support.</p>
  
  <p>Do you think of some other way to achieve the same result? Just download and execute. Doesn't seem that hard =(. Can HTML 5 do that?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I was looking into Java Web Start and became a little happy. It appears that it can do what I want: executing a up to date jar file passing parameters. But I never worked with JWS, so I have some doubts:</p>
  
  <ul>
  <li><p>Is it possible to pass parameters to it? I read about some JSP files that you can configure to do that, but I'm still unsure.</p></li>
  <li><p>Theoretically, it should start automatically from a browser link, am I right? I tried this site:
  <a href="https://docs.oracle.com/javase/tutorial/deployment/webstart/running.html" rel="nofollow">https://docs.oracle.com/javase/tutorial/deployment/webstart/running.html</a> </p></li>
  </ul>
  
  <p>and it didn't work that way. I had to mark "always open files of that type" on Google Chrome. Is there a way for automatize it?</p>
  
  <p>Thanks again!!</p>