I have created a .txt file in my Eclipse Java project, and I want to find out the path to it so I can use it for a Scanner. I do not want to find out the path on my local drive, as I will be planning to share the program to someone else, and they will have a different folder structure, rather a path that can be used on anybodies machine.
Here is the code:
this.file = new File("<insert path here>");
[https://stackoverflow.com/q/21060992/7405620](https://stackoverflow.com/q/21060992/7405620) – majid zareei Jul 19 '18 at 14:46