title: JAVA FileNotFoundException when using command line
body: <p>I have a swing application that accesses a text file via a BufferedReader.
  When I run it in NetBeans, the file is accessed fine. But, when I run the jar file itself from the command line, I get a FileNotFoundException. </p>
  
  <p>I am using a FileInputStream, and initializing it with a path to the text file:
  FileInputStream fstream = new FileInputStream("appsDB/Apps.txt");</p>
  
  <p>The appsDB folder is at the same level as the src folder, and so I'm guessing that's why the path works and the text file is found when I run it in NetBeans. What do I need to do differently, should I be specifying the path to the Apps.txt file differently?</p>