简体   繁体   English

Android Studio安装找不到JDK?

[英]Android Studio Installation doesn't find JDK?

I'm trying to set up Android Studio on my new laptop and running into some difficulty. 我正在尝试在新笔记本电脑上设置Android Studio,但遇到了一些困难。 I get prompted to provide a path for the JDK, which I downloaded from the oracle website: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html 提示我提供从oracle网站下载的JDK的路径: http : //www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

在此处输入图片说明

But I get this message when I press Next : 但是当我按Next时,我收到此消息:

在此处输入图片说明

jdk1.7.0_79 definitely has bin/java.exe in it, I'm not sure exactly what the problem is. jdk1.7.0_79中肯定有bin / java.exe,我不确定是什么问题。 Can anyone point me in the right direction? 谁能指出我正确的方向? Any insight is highly appreciated 任何见解都受到高度赞赏

Go to : My Computer->Right Click->System Properties->Advanced System Settings->Environment variables 转到:“ My Computer->Right Click->System Properties->Advanced System Settings->Environment variables

Under user variables Click New. 在用户变量下单击新建。

Variable Name : JAVA_HOME Variable Value : C:\\Program Files\\Java\\jdk1.7.0_79

Apply and then Ok. 应用,然后确定。 Then start installing android studio. 然后开始安装android studio。 If it still doesn't work,download and install jdk 1.8.0_45 如果仍然无法正常工作,请下载并安装jdk 1.8.0_45

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM