title: Build JAR file with IntelliJ 14: Unable to access jarfile?
body: <p>I'm trying to generate a JAR file out of a small library I'm writing. I understand that I need to add a <strong><em>custom Run/Debug Configuration</em></strong> to achieve that. So, I added this new <em>JAR Application</em> configuration:</p>
  
  <p><a href="https://i.stack.imgur.com/f7Tjd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f7Tjd.png" alt="Build Jar Configuration"></a></p>
  
  <hr>
  
  <p>When I run the module with this configuration, I get this error:</p>
  
  <pre><code>"C:\Program Files\Java\jdk1.7.0_79\jre\bin\java" -Dfile.encoding=windows-1256 -jar ""
  Error: Unable to access jarfile 
  
  Process finished with exit code 1
  </code></pre>
  
  <p>I'm not sure why, but I think it has something to do with the warning in the bottom of the screenshot, which I can't figure out why I have it. </p>