what’s the difference between -source and -target compatibility?
From the javac docs: -source Specifies the version of source code accepted. -target Generate class files that target a specified version of the VM. Class files will run on the specified target and on later versions, but not on earlier versions of the VM. In your example: -source 1.5 and -target 1.6 This would be … Read more