How do relative file paths work in Eclipse?

前端 未结 6 1350
后悔当初
后悔当初 2020-11-29 01:10

So my 2009 new years resolution is to learn Java. I recently acquired \"Java for Dummies\" and have been following along with the demo code in the book by re-writing it usi

6条回答
  •  佛祖请我去吃肉
    2020-11-29 01:39

    You need "src/Hankees.txt"

    Your file is in the source folder which is not counted as the working directory.\

    Or you can move the file up to the root directory of your project and just use "Hankees.txt"

提交回复
热议问题