title: major version 51 is newer than 50, the highest major version supported by this compiler
body: <p>My current project using jdk1.6.0_32, apache-ant-1.7.1 and CVS for code build.</p>
  
  <p>Now we are migrating to jdk1.7.0_79. So I have modified JAVA_HOME and in the property files that are used for building the code.</p>
  
  <p>After this when I tried to perform the build the code, encountered with the following error. </p>
  
  <pre><code>[javac] warning: java\util\HashMap.class(java\util:HashMap.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\lang\Object.class(java\lang:Object.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\lang\String.class(java\lang:String.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\io\Serializable.class(java\io:Serializable.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\util\ArrayList.class(java\util:ArrayList.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\util\Iterator.class(java\util:Iterator.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\util\Set.class(java\util:Set.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\util\List.class(java\util:List.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\util\Date.class(java\util:Date.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\net\InetAddress.class(java\net:InetAddress.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\sql\Connection.class(java\sql:Connection.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\sql\PreparedStatement.class(java\sql:PreparedStatement.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\sql\ResultSet.class(java\sql:ResultSet.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  [javac] It is recommended that the compiler be upgraded.
  [javac] warning: java\sql\ResultSetMetaData.class(java\sql:ResultSetMetaData.class): major version 51 is newer than 50, the highest major version supported by this compiler.
  </code></pre>
  
  <p>[javac] It is recommended that the compiler be upgraded.</p>
  
  <p>Can any one help me in resolving this issue.</p>