I want to compile my .java\'s (several) into one .jar that are compatible with at least Java 1.6 and newer, preferably Java 1.5 and ne
.jar
Java 1.6
Java 1.5
You can use the newest version of the JDK and set the source level to 1.5 - as long as you don't use classes / methods that were introduced after 1.5 you should be ok for all versions of the JVM 1.5 and above:
-source 1.5