I hope some can help me out with this.
I have a program and it runs fine from the Command Prompt using javac then running it. The program holds some data in a .txt file.
I have put the code into Eclipse, but I do not know how/where to add the txt file to the program. The debugger keeps saying file not found even though it is within the same 'src>default package' folder.
I keep reading I have to make it into a .jar file before I can include it, but then I read you cannot use them in this form.
So how can I add the data.txt file into the program/IDE?
Million thanks for any help, I am quite stuck and under pressure. :o