title: Apache Ant cannot find tools.jar on Solaris 11
body: <p>I'm trying to install apache ant on Solaris 11.</p>
  
  <p>I set ANT_HOME but I keep getting this error:</p>
  
  <p><code>
  Unable to locate tools.jar. Expected to find it in /usr/jdk/instances/jdk1.7.0/lib/tools.jar
  Buildfile: build.xml does not exist!
  Build failed</code></p>
  
  <p>How do I resolve this?</p>