I need to configure the JDK path in Android Studio via terminal without root access to a script. The computer has JDK / JRE 7, I tried to change the value of some variables: PATH, JAVA_HOME, JDK_HOME, STUDIO_JDK, ....
In the terminal jdk 8 works by changing the value of the PATH, but when I open Android Studio it only recognizes the JRE.
GraphicallyviaProjectStructureIcanchangetheJDK,butIneedittobeviaCLI. Anyone know?