Per-install
- Java 1.5.0 in Ubuntu 9.10
- go to http://java.sun.com/javase/downloads/index_jdk5.jsp download JDK 5 update 22, this product is no longer officially supported, so need to submit a form and download from the link they send it to your email.
- the file downloaded will be xxxx.rpm.bin
- get rpm if you don’t have it, sudo apt-get install rpm
- then run the bin file (./)
- rmp –i xxxxx.rpm --orce-debian –nodeps
- sudo update-alternatives --install /usr/bin/java java/usr/java/jdk1.5.0_22/bin/java 50
- sudo update-alternatives --install /usr/bin/javac javac/usr/java/jdk1.5.0_22/bin/javac 50
- sudo apt-get install git-core gnupg flex bison gperf build-essential zipcurl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev
- other part follow http://source.android.com/download
- remember to add PATH=$PATH:$HOME/bin before run repo command
- export PATH=$PATH:$HOME/bin
- export JAVA_HOME/bin:$PATH
post install
- eclipse IDE http://source.android.com/using-eclipse
No comments:
Post a Comment