I am trying to read a file using File Reader but I continue to get fileNotFound execptions which leads be to believe that clearly netbeans is not picking up on the file location. The file itself is saved in the src folder along woth the .java file.
The following code seems to fail. How can I fix this>
FileReader fr = new FileReader("src/flavors.data");
if you put your resources in src folder than you can load it like that
or if your resources in some package than you can load it like that
if your want to read it using file IO , use following method to find the default relative path in netbeans