title: javac class not found when compiling with ant
body: <p>So I installed java 7 and javac this way on my Centos6.4</p>
  
  <pre><code>rpm -Uvh /path/to/binary/jdk-7u45-linux-x64.rpm
  alternatives --install /usr/bin/javac javac /usr/java/jdk1.7.0_45/bin/javac 200000
  export JAVA_HOME="/usr/java/jdk1.7.0_45"
  </code></pre>
  
  <p>So I have:</p>
  
  <pre><code>$ java -version
  java version "1.7.0_45"
  Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
  Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
  $ javac -version
  javac 1.7.0_45
  $ ant -version
  Apache Ant version 1.7.1 compiled on August 24 2010
  </code></pre>
  
  <p>Here is the error I get when compiling:</p>
  
  <pre><code>BUILD FAILED
  /home/user/project/build.xml:413: Class not found: javac1.7
  </code></pre>
  
  <p>Any idea? Thanks</p>