Android Studio and JRE on OS X

Installing AndroidStudio 2.0 on OS X El Capitan: if I install JRE 7 from http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html , I won’t get Public Updates; if I install JRE 8, Android Studio complains that it cannot use a secure connection to receive updates:

Screenshot of Android Studio and Java

Is there any way to convince AS that JRE 8 is not JRE 6? If this is not possible, what compromise is preferable: switch to JRE 7 and establish a secure connection for Android Studio updates or keep the latest version of JRE and wait for Android Studio to fix?

+4
source share
2 answers

Android Studio java 6: http://tools.android.com/tech-docs/configuration/osx-jdk

, env, Android Studio, jdk:

export STUDIO_JDK=/Library/Java/JavaVirtualMachines/jdk<version>.jdk

env GUI, ~/.profile:

launchctl setenv STUDIO_JDK /Library/Java/JavaVirtualMachines/jdk<version>.jdk

, .

+5

OSX: "", Android Studio, " ".

Info.plist. JVMVersion .

1,7 RoboVM, 1,6 * 1,7 +, 1,7 +.

Android Studio, JVM, .

, root- Mac.

Android Studio IDE jre/jdk? OSX


Android Studio 2.1.2 : "1,6 *, 1,7 +".

Android Studio (2.2 Preview 7) : "1.8 *, 1.8 +".

+3

All Articles