i'm trying to useto load a file, but i get the exceptionScanner input = new Scanner(new File("wherefits.dat"));
Exception in thread "main" java.io.FileNotFoundException: wherefits.dat (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.jav a:106)
at java.util.Scanner.<init>(Scanner.java:636)
at blahblahblah.wherefits.main(wherefits.java:11)
the file is in the same package as my java file in eclipse.
my computer science teacher says it should be working.