I have a text file text.txt located in the classes output root directory.
When I use new File("text.txt"), i received the java.io.FileNotFoundException.
My output structure is liking
com
mycompany
test.class
text.txt
Anything wrong and how to fix?