Java can’t find file when running through Eclipse
The problem is most likely that your application is using a relative pathname. As @BalusC says, relative pathnames can be problematic. But IMO, he goes way too far when he says “[y]ou should never use relative paths in java.io stuff”. When an application opens a file using (for example) the FileInputStream(File) constructor, relative pathnames are … Read more