title: installing sun-java6-jdk on ubuntu 10.04 64 bit os
body: <p>I am trying to setup build enviroment for android on my ubunt10.04 machine. For that i want to install sun-java6-jdk as mentioned in source.andoid.com .</p>
  <blockquote>
  <p>$ sudo add-apt-repository &quot;deb <a href="http://archive.canonical.com/" rel="noreferrer">http://archive.canonical.com/</a> lucid partner&quot;</p>
  <p>$ sudo apt-get update</p>
  <p>$ sudo apt-get install sun-java6-jdk</p>
  </blockquote>
  <p>But now I am getting the error as no package for sun-java6-jdk.</p>
  <p>so I want to know how to install suitable jdk for android build set up.</p>