title: 0.20.2 API hadoop version with java 5
body: <p>I have started a maven project trying to implement the MapReduce algorithm in java 1.5.0_14. I have chosen the 0.20.2 API hadoop version. In the pom.xml i'm using thus the following dependency:</p>
  
  <p>&lt; dependency></p>
  
  <pre><code>&lt; groupId&gt;org.apache.hadoop&lt; /groupId&gt;      
  &lt; artifactId&gt;hadoop-core&lt; /artifactId&gt;      
  &lt; version&gt;0.20.2&lt; /version&gt;
  </code></pre>
  
  <p>&lt; /dependency></p>
  
  <p>But when I'm using an import to the org.apache.hadoop classes, I get the following error:</p>
  
  <p><strong>bad class file: ${HOME_DIR}\repository\org\apache\hadoop\hadoop-core\0.20.2\hadoop-core-0.20.2.jar(org/apache/hadoop/fs/Path.class)
  class file has wrong version 50.0, should be 49.0</strong>.</p>
  
  <p>Does someone know how can I solve this issue.</p>
  
  <p>Thanks.</p>