title: java.io.FileNotFoundException (The system cannot find the path specified)
body: <p>I get this exception when I want to open a keystore</p>
  
  <pre><code>java.io.FileNotFoundException: \resources\keystore (The system cannot find the path specified)
  </code></pre>
  
  <p>Basically my application is like</p>
  
  <pre><code>src/
      client.java
      server.java
      resources/
          keystore
          truststore
  </code></pre>
  
  <p>And the faulty code : </p>
  
  <pre><code>System.setProperty("javax.net.ssl.keyStore","/resources/keystore");
  System.setProperty("javax.net.ssl.keyStorePassword", "redacted");
  </code></pre>
  
  <p>I also tried ./resources/keystore, resources/keystore, \\resources\\keystore etc..</p>
  
  <p>My application is supposed to work in an executable jar so no absolute path technique please.</p>