title: FileNotFoundException in Eclipse
body: <p>In Eclipse, my directory structure is this:</p>
  
  <pre><code>-src
   -com.xxx.yyy
    - MyClass.java
  -assets
    - car.txt
  </code></pre>
  
  <p>MyClass.java looks like this :</p>
  
  <pre><code>public class MyClass {
      private static String FILE_PATH = "../assets/car.txt";
      public static void main(String[] args) {
          try {
                       //FileNotFoundException
              FileInputStream fis = new FileInputStream(new File(FILE_PATH)); 
          }
       ...
      }
  }
  </code></pre>
  
  <p>I this by default, the classpath is <code>src/</code>, so I point to my <strong>car.txt</strong> file by <code>../assets/car.txt</code>. But I get :</p>
  
  <pre><code>java.io.FileNotFoundException: ../assets/car.txt (No such file or directory)
      at java.io.FileInputStream.open(Native Method)
      at java.io.FileInputStream.&lt;init&gt;(FileInputStream.java:138)
  </code></pre>
  
  <p>Why ?</p>