I am new to writing ant scripts . I have code in Java 1.4 and when I compile the following ant script
<target depends="init" name="javacompile">
<javac srcdir="${src}" destdir="${dest}" source="1.4" target="1.4"/>
</target>
I am getting an Unsupported major.minor version 49.0 Exception.
java.lang.UnsupportedClassVersionError: com/sun/tools/javac/Main (Unsupported major.minor version 49.0)