Assuming:
My preferred IDEs are Android Studio and Intellij+plugin
I only have access to one work station and that it is impractical to use a virtual environment.
I need to be able to use Java 7 for my other projects
I want my apps to run on Android devices predating 4.0
If possible, how would I ensure that my IDE is compiling code using JDK 1.6 instead of 1.7 if both are present on the machine?