Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 463b264

Browse filesBrowse files
authored
Merge pull request giantray#75 from NoahZu/master
add android-sdk-installation-doesnt-find-jdk
2 parents bca7ea7 + 1bac5e9 commit 463b264
Copy full SHA for 463b264

File tree

Expand file treeCollapse file tree

1 file changed

+30
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+30
-0
lines changed
+30Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
##安装Android SDK的时候找不到JDK
2+
3+
###问题
4+
我在我的win7 64位的系统上安装Android SDK时,jdk-6u23-windows-x64.exe已经安装上了,但是Android SDK的安装程序却因为找不到已安装的JDK无法继续下去。
5+
这个问题出现过吗?有没有办法解决呢?
6+
7+
![](http://ww2.sinaimg.cn/large/0060lm7Tgw1f72ny3m6oaj30ds0a0gmi.jpg)
8+
9+
###回答1:
10+
当你看到这个提示(找不到jdk)的时候按Back(返回),然后再点Next(下一步)。这个时候,它将会去寻找JDK
11+
12+
###回答2:
13+
实际安装:
14+
15+
- 系统:windows 8.1
16+
- JDK文件: jdk-8u11-windows-x64.exe
17+
- ADT文件:installer_r23.0.2-windows.exe
18+
安装64位JDK,然后尝试第一个回答中的back-next的方法。然后尝试设置JAVA_HOME 根据错误信息的提示,但是,仍旧对我没有用处,然后,尝试如下解决办法:
19+
20+
按照它说的做,设置JAVA_HOME在你的系统环境变量中,这个路径要使用正斜杠(/)而非反斜杠(\)
21+
22+
**注意:**
23+
当我把JAVA_HOME设置为C:\Program Files\Java\jdk1.6.0_31的时候还是不行,但是当我设置成C:/Program Files/Java/jdk1.6.0_31的时候就ok了。快把我逼疯了。
24+
25+
如果还不行,就把 %JAVA_HOME%加在环境变量Path的头部。
26+
27+
下面是我的环境变量的配置:
28+
- JAVA_HOME=C:/Program Files/Java/jdk1.8.0_11
29+
- JRE_HOME=C:/Program Files/Java/jre8
30+
- Path=%JAVA_HOME%;C:...

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.