title: Regarding application.properties file and environment variable
body: <p>Java successfully recognizes the path in my application.properties file when I have the path configured as below:</p>
  
  <pre><code>pathToInputFile=/kcs/data/incoming/ready/
  pathToInputFileProcess=/kcs/data/incoming/work/
  </code></pre>
  
  <p>If I try using an environment variable, the Java program doesn't recognize the path.</p>
  
  <p>(the environmental variable <code>TOM_DATA</code> is set as /kcs.)</p>
  
  <pre><code>pathToInputFile=${TOM_DATA}/data/incoming/ready/
  pathToInputFileProcess=${TOM_DATA}/data/incoming/work/
  </code></pre>
  
  <p>Can I use an environment variable inside application.properties file?</p>