title: javac1.8 class not found
body: <p>I have installed two jdks - jdk 1.5 and jdk 1.8.
  I have following Ant build.xml config file :</p>
  
  <pre><code>&lt;target name="compileCustomSrc"&gt;
      &lt;javac srcdir="src" destdir="build/classes" source="1.5" target="1.5" &gt;
          &lt;classpath&gt;
              &lt;fileset dir="C:/lib/"&gt;
                  &lt;include name="*.jar" /&gt;
              &lt;/fileset&gt;
          &lt;/classpath&gt;
      &lt;/javac&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>Before installing jdk1.8, Ant invoked from Eclipse compiled all sources successful. But now, I have following error message:</p>
  
  <pre>Class not found: javac1.8</pre>
  
  <p>My JAVA_HOME and JRE_HOME:</p>
  
  <pre>JAVA_HOME = C:\Program Files (x86)\Java\jdk1.5.0_16
  JRE_HOME = C:\Program Files (x86)\Java\jre1.5.0_16</pre>
  
  <p>and set in Eclipse JRE to 1.5. Does Java 1.8 set some configs during installation?</p>