I have strict compile and runtime versions that I can use, and I'm having trouble mapping this to the netbeans "Source/Binary Format" option for project properties. I'd like to develop with jdk7 as there are code features and support that are really nice (String switch case is a perfect example) However the environment for the project at runtime requires it be compiled with version 1.4.1 or higher, and runtime version 1.6.0_02(can't be higher than that)
Given that information, I believe so long as netbeans is using jdk7 on environment level then I can set my source/binary setting on the project level to be jdk 1.4 and be just fine.
Is this a correct assumption, or am I missing a basic concept?
If your project must be compiled with version 1.4.1 you have to set the Source/Binary format to 1.4.1. What's more if your runtime plateform support only jdk1.6 how do you think it's possible to use 1.7 features?