title: Opening a local executable jar via Javascript or HTML5
body: <p>I am trying to execute a local executable jar from an html page, so I originally tried using javascript window.open("/Users/guest/desktop/fileName").  This almost works.  It opens up the folder where the jar is located and selects the jar, but it does not execute the jar.  Then I saw threads on here about how opening the file is not possible because of security problems.</p>
  
  <p>I came across this page, which I feel like should have my answer:  <a href="http://www.html5rocks.com/en/tutorials/file/dndfiles/" rel="nofollow">http://www.html5rocks.com/en/tutorials/file/dndfiles/</a></p>
  
  <p>But all that page talks about is how to read and write to files, not how to open them.  Is opening local files still not possible? If it is, how can I go about it?</p>
  
  <p>Here is my HTML code in case it may help.  </p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript"&gt;
  function open_win()
  {window.open("/Desktop/folder/jarFile.jar")
  }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;input type="button" value="Open jar" onclick="open_win()" /&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>