I'm getting the below error when I tried to read a simple abc.txt file by using the attached javacode.
My Classpath is set as %CLASSPATH%;.; and the abc.txt,javacode are placed in the same folder.I'm getting an error during runtime.
Can any one please help me how to overcome this problem.
Exception in thread "main" java.io.FileNotFoundException: abc.txt (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.jav a:120)
at java.io.FileInputStream.<init>(FileInputStream.jav a:79)
Java Result: 1