JDK compiler version issue
<p>I'm using Ant to compile Java.The project has to be compiled using JDK 1.5 , however some part of the code references a package compiled with JDK 1.6 version.
I set the JAVA_HOME to 1.5 , error is thrown at this reference as</p>

<p>[javac] class file has wrong version 50.0, should be 49.0</p>

<p>What is the way out without downgrading the reference version  to 1.5</p>
