Ubuntu 10.10 LTS安装JDK出错解决
2012-04-08 15:11
357 查看
编译android,要先安装JDK 1.6,可按照source.android.com的如下步骤还是安装不上:
The Sun JDK is no longer in Ubuntu's main package repository. In order to download it, you need to add the appropriate repository and indicate to the system which JDK should be used.
Java 6: for Gingerbread and newer
可通过如下方式解决:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:sun-java-community-team/sun-java6
sudo apt-get update
sudo apt-get install sun-java6-jdk
参考链接:1. http://source.android.com/source/initializing.html
2. http://www.eoeandroid.com/thread-159878-1-1.html
Installing the JDK
The Sun JDK is no longer in Ubuntu's main package repository. In order to download it, you need to add the appropriate repository and indicate to the system which JDK should be used.Java 6: for Gingerbread and newer
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" $ sudo apt-get update $ sudo apt-get install sun-java6-jdk
可通过如下方式解决:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:sun-java-community-team/sun-java6
sudo apt-get update
sudo apt-get install sun-java6-jdk
参考链接:1. http://source.android.com/source/initializing.html
2. http://www.eoeandroid.com/thread-159878-1-1.html
相关文章推荐
- Ubuntu 10.04 LTS 安装 sun-java6-jdk 错误解决办法
- ubuntu14.04源无法更新--jdk安装出错解决方法
- [转]ubuntu10.10升级到11.04过程中python2.7升级出错的解决方法(安装wine过程中出错)
- ubuntu14.04源无法更新--jdk安装出错解决方法
- 64位Ubuntu安装32位的jdk出错解决
- Ubuntu 10.04 LTS 安装 sun-java6-jdk 错误解决办法
- Ubuntu 10.04 LTS 上安装sun-java6-jdk 错误解决办法
- Ubuntu 16.04下jdk和android studio的安装和出现问题的解决办法
- Ubuntu下无法安装sun-java6-jdk的解决办法
- Ubuntu安装Eclipse出现jdk环境异常问题解决办法
- ubuntu16.04 安装jdk 错误解决
- ubuntu10.10 下手动安装jdk1.6记录
- Ubuntu10.10安装sun-java5-jdk
- ubuntu 10.10 ltib 安装 问题解决
- Ubuntu10.10(linux) 安装jdk1.6及环境变量的设置【转载】
- mac x Yosemide(10.10) 下安装 jdk 1.7 (jdk 1.8) 要求Mac OS X10.7.3或更高版本解决
- ubuntu下安装opencv,cmake出错,解决方法
- Ubuntu下安装最新版JDK时“No matching plugin was found”问题的解决方法
- ubuntu 安装ORACLE JDK失败后导致的系统错误及UPDATE错误的解决办法
- 安装过jdk1.7再安装1.8时出错——解决方法