2 Replies Latest reply on Apr 5, 2012 4:32 PM by userWALTTM

    Java Concurrent Program reading file

      Hi all

      I have a JCP that's working as I require, apart from one small issue.
      I want to open a file, read the contents, and then process them. I do this as follows:

      fileReader = new FileReader("/d01/oracle/visappl/file.txt");

      This works when I hard code the full path. However, when I try to use an application relative path, it doesn't work:

      fileReader = new FileReader("$APPL_TOP/file.txt");
      I get a file not found error.

      Is there a way to do this?