I've got a project written using JDK 1.4.1
an JDK 1.7
installed on my machine. I can build those 1.4-sources with the line:
javac @sources.txt -source 1.4 -target 1.4 -deprecation -classpath %cp% -Xstdout log.txt -d .\classes
Is it possible to run it with -source 1.4 -target 1.7
combination?
Also I'm curious will there be any performace gain if I run application written with JDK 1.4.1 on the system where JDK 1.7.1 is installed?