Sunday, March 4, 2012

File Not Found Exception

banging the head trying to find why the file is not loaded even after adding to classpath. The Simple thing to do is
Add the below lines so that the system shows where the classpath location it is trying to access.

File file = new File("file.txt");

No comments:

Post a Comment