giovedì 8 luglio 2010

Froyo Build - JDK 6 is the correct version

To build the files you need the java 6. The Android documents are out of date.
This is the error if you build with the java 5
 
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.5.0_19".
The correct version is: 1.6.

Jean-Baptiste Queru answer to my question: JDK 5 or 6?

So I install JDK 6.0 under Ubuntu 10.04 32 bit with these command-line:


sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk


Nessun commento: