Ive read a few threads here that relate the same problem, but the solutions arent working. :/
I use Eclipse, here is my program.
package mypackage;
you can fix it simply declaring that throw this exception. Like this:
public static void main(String args[]) throws FileNotFoundException{ FileReader reader=new FileReader("db.properties"); Properties p=new Properties(); p.load(reader); }