What do I set ANT_HOME and JAVA_HOME to?
<p>I'm on a CentOS 6.3 machine.  I installed both ant and openjdk via yum.  What should I set the environment variable ANT_HOME (and JAVA_HOME) to?  I looked thru the entire filesystem and could not find anything tha looked right for ant.</p>

<p>For java, there's lots of symbolic links in /usr/lib/jvm.  And 'java' is actually a symbolic link, that points to another link, and another, which eventually points to /usr/lib/jvm/jre-1.7.0-openjdk/bin/java, which is an actual file.  What should I set JAVA_HOME to?</p>

<p>Finally, I'm asking because I'm trying to build some simple Android programs book 'Beginning Android 4' and got this error message:</p>

<pre><code># ant debug
 Buildfile: build.xml

 BUILD FAILED
      NowRedux/build.xml:49: taskdef class com.android.ant.SetupTask cannot be found
</code></pre>

<p>From other WWW searches, it seems the above can be caused by not having ANT_HOME and JAVA_HOME set, which I don't.</p>
