title: Android device monitor using different java version from JAVA_HOME and Android Studio
body: <p>I've got Android Studio 3.0 The settings in the Project Structure - JDK location - <code>"C:\Java\jdk1.8"</code> and there is my 1.8 jdk. But on this PC the JAVA_HOME variable is set to <code>"C:\Java\jdk1.7"</code>.</p>
  
  <p>Then then I can't open the Android device monitor. I am receiving a log file saying:</p>
  
  <pre><code>java.version=1.7.0_80
  ....
  org.osgi.framework.BundleException: The activator com.android.ide.eclipse.monitor.MonitorPlugin for bundle com.android.ide.eclipse.monitor is invalid
  Caused by: java.lang.UnsupportedClassVersionError: com/android/prefs/AndroidLocation$AndroidLocationException : Unsupported major.minor version 52.0
  </code></pre>
  
  <p>Without changing the JAVA_HOME how can I run Android Studio with jdk1.8?</p>