ubuntu12.04安装openjdk-7
编译androidL需要使用openjdk-7;使用sudo apt-get install openjdk-7-jdk会出现错误信息。
网上差了一些方法,可以通过更新软件源的方法解决,这里使用了 #中国科技大学
源,验证OK。
deb http:
//debian
.ustc.edu.cn
/ubuntu/
precise main restricted universe multiverse
deb http:
//debian
.ustc.edu.cn
/ubuntu/
precise-backports restricted universe multiverse
deb http:
//debian
.ustc.edu.cn
/ubuntu/
precise-proposed main restricted universe multiverse
deb http:
//debian
.ustc.edu.cn
/ubuntu/
precise-security main restricted universe multiverse
deb http:
//debian
.ustc.edu.cn
/ubuntu/
precise-updates main restricted universe multiverse
deb-src http:
//debian
.ustc.edu.cn
/ubuntu/
precise main restricted universe multiverse
deb-src http:
//debian
.ustc.edu.cn
/ubuntu/
precise-backports main restricted universe multiverse
deb-src http:
//debian
.ustc.edu.cn
/ubuntu/
precise-proposed main restricted universe multiverse
deb-src http:
//debian
.ustc.edu.cn
/ubuntu/
precise-security main restricted universe multiverse
deb-src http:
//debian
.ustc.edu.cn
/ubuntu/
precise-updates main restricted universe multiverse