I have two JDKs, for Java 6 and 7.
I want to build my project using both. Initially we only built against 1.6. I see in my project setting I can select 1.5, 1.6 1.7
Some additional steps may be needed to set both the project and default workspace JRE correctly, as MayoMan mentioned. Here is the complete sequence in Eclipse Luna:
Easy.... not.