Building android on ubuntu 10.04- 32 bit

I am trying to compile Android for Ubuntu 10.04 32 bit system. I am following the guide on

But I get the following error:

You are attempting to build with the incorrect version of java.

Your version is: java version "1.6.0_20". The correct version is: Java SE 1.6.

Guess, ubuntu support for Java SE packages has been halted. Therefore should I now downgrade my Java JDK to 1.6?? Please help


Here someone faced the very same problem as yours. The solution, "after uninstalling OpenJDK and Sun Java, I reinstalled Sun Java 6 JDK by itself, rebooted, and all is well." Check the link for more informations. While searching for that, I also stumbled upon an issue with 64 bits, that is not your point, but may be useful for someone else.

maybe you should use "sun jdk", not OpenJDK. the version should be 1.6.

Need Your Help

integration of NetSuite with either WePay or with Stripe

integration stripe-payments netsuite

I am doing some research for a NFP in the USA and we want to find out if anyone (a company or an individual) has either:

Count Duplicate URLs, fastest method possible

language-agnostic url duplicates text-processing

I'm still working with this huge list of URLs, all the help I have received has been great.