Okay so heres the code I am using, if you havent realised i had been
testing the code from the oracle
java tutorial website:
and heres the error message i keep getting:
Exception in
thread "main" java.io.FileNotFoundException: xanudu.txt (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileReader.<init>(Unknown Source)
at package1.ScanXan2.main(ScanXan2.java:14)
I just don't understand, I have made the xanudu file in the correct java directory (the file has also got text in it) because i can see it on the eclipse sidebar along with all my other java files.
Any advice at all would be appreciated