In this tutorial we will discuss about the FileNotFoundException in Java. This exception is thrown during a failed attempt to open the file denoted by a specified pathname. Also, this exception can be thrown when an application tries to open a file for writing, but the file is read only, or the permissions of the file do not allow the file to be read by any application. This exception extends the IOException class, which is the general class of exceptions produced by failed or interrupted I/O operations. Also, it extends the Serializable interface and finally, the FileNotFoundException exists since the first version of Java (1.0).