+2 votes
in Programming Languages by (63.4k points)
I am getting error java.io.FileNotFoundException while trying to read a file which I have kept in the src folder. Where should the file be kept?

1 Answer

0 votes
by (63.4k points)

The file is in the wrong folder. Place it under project folder where you have the followings..

 build, nbproject , src , build.xml,   manifest.mf . 

Also make sure your file doesn't have extra space in the name. It might also cause error even if you put the file in the project folder.