怎么下载jdk se 6啊,我在编译android的时候出错了

china_ssl 2012-05-05 12:55:04
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.

Your version is: java version "1.6.0_20".
The correct version is: Java SE 1.6.

Please follow the machine setup instructions at
http://source.android.com/source/download.html
************************************************************
build/core/main.mk:131: *** stop。 停止。


我想下个Java SE 1.6.的版本啊?
...全文
254 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
china_ssl 2012-05-05
  • 打赏
  • 举报
回复
我找到了谢谢但是现在又有新问题了,我mk -j4编译时总是失败,我就想把直接下的删了重新下

于是我就重新敲了命令但是
ssl@ssl-laptop:~$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 20183 100 20183 0 0 41180 0 --:--:-- --:--:-- --:--:-- 63071
ssl@ssl-laptop:~$ cd WORKING_DIRECTORY
ssl@ssl-laptop:~/WORKING_DIRECTORY$ repo init -u https://android.googlesource.com/a/platform/manifest

Your identity is: china_ssl <china_ssl@hotmail.com>
If you want to change this, please re-run 'repo init' with --config-name

repo initialized in /home/ssl
ssl@ssl-laptop:~/WORKING_DIRECTORY$
怎么每次都是在repo initialized in /home/ssl这个目录下啊,而不是是在/home/ssl/WORKING_DIRECTORY这个下面啊

这个要怎么做啊,谁教教我啊,我可以加分的200分
humanity 2012-05-05
  • 打赏
  • 举报
回复
java.sun.com 之后在菜单上找,或者在右边广告列表里面找,有 JDK 7 下载,进去之后下面也有 JDK 6 列在那儿。
llbupt 2012-05-05
  • 打赏
  • 举报
回复
百度一下,网上挺多的啊

80,493

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧