title: global variable but still can't access in linux
body: <p>i have trying to use some global variable in my ant file.
  when i do login through terminal. i can access those variable like <code>JAVA_HOME</code>
  but when i am trying to access variable through the ant command i am not able to find them.
  global variable declared in .cshrc</p>
  
  <pre><code>setenv JAVA_HOME jdk_full_path
  </code></pre>
  
  <p>ant code using variable.</p>
  
  <pre>
  &lt;property environment="env"/&gt;
  &lt;property name="ear" value= "true"/&gt;
  &lt;property name="home" value="${env.HOME}"/&gt;
  &lt;property name="java_home" value="${env.JAVA_HOME}"/&gt;
  </pre>
  
  <p>i can access home variable but i am not able to find <code>JAVA_HOME</code> variable ,i am executing this ant through eclipse </p>
  
  <p>Please suggest me where should i declare the variable so i can access them </p>