I've got Android Studio 3.0 The settings in the Project Structure - JDK location - "C:\Java\jdk1.8"
and there is my 1.8 jdk. But on this PC the JAVA_HOME variable is set to "C:\Java\jdk1.7"
.
Then then I can't open the Android device monitor. I am receiving a log file saying:
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
Without changing the JAVA_HOME how can I run Android Studio with jdk1.8?