title: How to set ANT_HOME on Ubuntu Desktop 12.04?
body: <p>It looks like Ubuntu uses <code>~/.bashrc</code>, <code>~/.bash_profile</code>, <code>~/.pam_profile</code>, <code>/etc/environment</code>, and <code>/etc/profile</code> in very similar ways. I'd like to be able to add a configuration to one of these (which ever is the appropriate one) to set <code>ANT_HOME</code> to be the absolute path to my Ant installation's root directory (happens to be <code>/opt/apache/ant/1.8.4/apache-ant-1.8.4/</code>). This variable needs to be "honored" as is any normal env var, where I can open up a terminal and <code>echo</code> it at any time. It would also be nice if I could set this in such a way for Java to read it in at runtime from a <code>System.getProperty("")</code> call.</p>
  
  <ul>
  <li>Which file do I use?</li>
  <li>How do I actually set it so that it meets my requirements above?</li>
  </ul>
  
  <p>Thanks in advance for any help or pointers here!</p>