title: java.io.IOException: Access is denied
body: <p>I need to update my application. To do this, I delete the .jar file my program is currently running from and create a new one with the same name, then restart the application.</p>
  
  <p>However, when I attempt to do this I get a <code>java.io.IOException: Access is denied</code>.</p>
  
  <p>How can I fix this?</p>
  
  <p>Thanks!</p>