title: Trying to compile with ant
body: <p>I'm trying to compile my project with "ant build", but I'm getting this error:</p>
  
  <blockquote>
    <p>Unable to locate tools.jar. Expected to find it in
    /usr/lib/jvm/java-6-openjdk/lib/tools.jar</p>
  </blockquote>
  
  <p>I searched <code>tools.jar</code> and it is just in <code>/usr/lib/jdk1.7.0_01/lib/tools.jar</code>.</p>
  
  <p>Is a good idea to create a symlink like this below?</p>
  
  <blockquote>
    <p>ln -s /usr/lib/jdk1.7.0_01/lib/tools.jar
    /usr/lib/jdk1.7.0_01/lib/tools.jar</p>
  </blockquote>
  
  <p><em>Well..</em> actually I tried to create that symlink, but then I'm getting this error:</p>
  
  <blockquote>
    <p>BUILD FAILED /home/me/code/StockWatcher/build.xml:29:
    java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main :
    Unsupported major.minor version 51.0</p>
  </blockquote>
  
  <p>So I don't know if this last error is because the symlink...</p>
  
  <p>Javi</p>