My code is not able to read the property file. Can anyone help here? It prints unable to find the file.
BufferedReader br = null;
String strLine = "";
try {
br = new BufferedReader( new FileReader("C:/common-test/common-test/translationtest/messages_ja.property"));
while( (strLine = br.readLine()) != null){
System.out.println(strLine);
}
} catch (FileNotFoundException e) {
System.err.println("Unable to find the file: fileName");
} catch (IOException e) {
System.err.println("Unable to read the file: fileName");
}