Home > Mobile >  New android from the studio installation, prompt can not find the JDK
New android from the studio installation, prompt can not find the JDK

Time:09-20

My system is win10 (64), the first in the official website to download the JDK and 12, here is my installation steps,
1. Install the JDK - 12, not suggested to install the JRE, I searched, carried out in accordance with the 2 department;
2. In the CMD, target folder (C: \ \ Java \ JDK to 12) input:
Bin \ jlink. Exe -- -- the module - path jmods - add - modules Java. Desktop - output jre
3. Set the environment variable:
A) the computer? The right mouse button? Attribute? Advanced system Settings? Environment variables;
B) in the system variables? New? Name: JAVA_HOME? Value: the JDK installation directory;
C) in the system variables? The path double-click? Add: % JAVA_HOME % \ bin;
D) in the system variables? New? Name: the CLASSPATH? Value:; %JAVA_HOME%\lib\dt.jar; % JAVA_HOME % \ lib \ tools. Jar,
4. Verify: Shift + R? CMD? Java or Java version (note that after Java space),
Step 4 verification is no problem,
Then install android - studio - bundle - 143.2915827 - Windows. Exe, prompt can not find the JDK, see attached figure, input I install JDK path also not line,
Figure how to upload will not come,,,

CodePudding user response:

Me too, then I change jdk1.8, successfully installed,

CodePudding user response:

As it happens, I am also, skull green now

CodePudding user response:

Your home folder and directory has Chinese? It is no good with Chinese characters

CodePudding user response:

Can't find is the Android SDK, can choose to skip can also choose to download

CodePudding user response:

Agree on the third floor, the computer name, the cache directory, such as any relevant don't have any Chinese
  • Related