title: Include text file in Eclipse JAR export?
body: <p>I am using a <code>FileInputStream</code> to read from a <code>File</code> object. My program is able to read the text file when run in the Eclipse IDE, but not when it is run as a JAR file. </p>
  
  <p>I am exporting it as a <code>JAR file</code> and not a <code>Runnable JAR file</code>, and I know that the text file is already included in the JAR file because I extracted it to check. </p>
  
  <p>This is what my file structure looks like:<br>
  <img src="https://i.stack.imgur.com/juSw2.png" alt="enter image description here"></p>