title: java read file path
body: <p>In the <strong>original</strong> project, I have a JAVA file that reads a txt file, I put the txt file under the root directory of this project, and everything is fine.</p>
  
  <pre><code>FileInputStream in = new FileInputStream("properties.txt");
  </code></pre>
  
  <p>Now, I export this project as a jar, and in the new project, I use this jar as an external library. Here comes the question: where should I put the txt file in this new project when I use this external library file?</p>