title: Accessing Linux Environment Variable from Java Program
body: <p>I have Java Program which access the Linux Variable(example <code>$VARD</code>, i have exported the variable as well), I am accessing the variable value using <code>Runtime.getRuntime("echo $VARD")</code> function. Issue is it prints variable name instead of its value.</p>
  
  <p>Note: I am running this program in Linux server where it has JAVA JDK 1.4 version. I knew we can do that using <code>getenv().get()</code> function which is available from JDK 1.5..</p>