title: java.io.FileNotFoundException on an existing file
body: <p>I am getting this error when I try to open a file:</p>
  
  <pre><code>java.io.FileNotFoundException: D:\Portable%20Programs\Android%20Development\workspace3\XXX-desktop\bin\World_X.fr (The system cannot find the path specified)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.&lt;init&gt;(Unknown Source)
      at java.util.Scanner.&lt;init&gt;(Unknown Source)
  </code></pre>
  
  <p>The file is existing in the directory but I am still getting this error. However when I copy the same file in the Eclipse workspace Project src folder, no such Exception is returned (though this method also creates the World_X.fr file in the bin folder). </p>
  
  <p>What I am actually trying to do is get the absolute location of the .jar file through this:</p>
  
  <pre><code>fileLocation = new String(Main.class.getProtectionDomain().getCodeSource().getLocation().getPath());
  </code></pre>
  
  <p>And then I am appending "World_X.fr" to the fileLocation string but this is not working. Please help me in this regard.</p>