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: C:\app\oem12c\agent.rs (The system cannot find the file specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:120) at java.io.FileInputStream.(FileInputStream.java:79)