I was trying to get Android Studio to use Java 1.7 on Mac OS X (Mountain Lion)
I went to File > Project Structure... and then tried to add a JDK with
For those wonder how you start the actual program Android Studio with Java 7: edit the plist located in /Applications/Android Studio.app/Contents/Info.plist
Change the xml key JVMVersion which is 1.6* to 1.7* (Java 7) or 1.6+ (latest version)
I don't know if there are any problems by doing this so take it easy.