So here is my program, which works ok:
import java.io.FileReader; import java.io.BufferedReader; import java.io.IOException; import java.util.Scanner; import
If aioobe@'s suggestion doesn't work for you, and you need to find out which directory the app is running from, try logging the following:
new File(".").getAbsolutePath()