Install java sdk 1.5 on Ubuntu 10.4

1. Add the urls into update list

    sudo add-apt-repository “deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse”

     sudo add-apt-repository “deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse”

2. Update the repository

    sudo apt-get update

3. Install java sdk 1.5

    sudo apt-get install sun-java5-jdk

4. Switch the version of SDK

sudo update-java-alternatives -s java-5-sun

 

New version for android sdk r8

export PATH=${PATH}:/usr/lib/android/android-sdk-linux_86/tools:

/usr/lib/android/android-sdk-linux_86/platform-tools

Leave a Reply

Your email address will not be published. Required fields are marked *