Using Android Studio with Java 1.7
<p>I was trying to get Android Studio to use Java 1.7 on Mac OS X (Mountain Lion)</p>

<p>I went to <code>File &gt; Project Structure...</code> and then tried to add a JDK with the <code>+</code> button and then selecting <code>JDK</code>.</p>

<p>I navigated to <code>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home</code> and selected that, but nothing happens. (this is where Oracle's Java updater installed Java 7 automatically)</p>

<p>How do I use Java 1.7 with Android Studio?</p>
