I need to compile a jar file using ant (1.7.0) to run under a specific version of Java (1.5). I currently have Java 1.6 on my machine. I have tried setting:
To find the version of the java in the classfiles I used:
javap -verbose
which announces the version at the start as
minor version: 0 major version: 49
which corresponds to Java 1.5