Make sure the file resides in the project folder if you're referencing it via a relative path. If not, use the absolute path to the file with the file extension.
java.io.FileNotFoundException: Redirection.java (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:137) at java.io.FileInputStream.(FileInputStream.java:96) at undefined.Redirection.main(Redirection.java:5)