Is there a situation
where if our Android studio has an embedded JDK and we don't want to download more JDKs, how do we start the JDK11 embedded in Android studio?
The first step is to confirm the path of JDK.
The second part is to add environment variables
. The following is the operation of configuring environment variables.
After java 1.8, there is no need for the CLASSPATH environment variable.
We only need to configure JAVA_HOME and PATH.
JAVA_HOME C:\AndroidStudio\jre (JDK installation directory)
Add after PATH:
%JAVA_HOME%\bin
%JAVA_HOME%\jre\bin
Test it:
check the java version in cmd.