2009年12月29日 星期二

ubuntu 9.10 , build android , java 1.5

1. edit /etc/apt/sources.list and add source link


deb http://tw.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse
deb-src http://tw.archive.ubuntu.com/ubuntu/ jaunty main restricted universe multiverse


2.
sudo apt-get update & sudo apt-get install sun-java5-jdk
3.
sudo update-alternatives --config java
4.
sudo update-java-alternatives -s java-1.5.0-sun
5. remark the previous source line at file /etc/apt/sources.list


沒有留言: