"Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.6.0_22".
The correct version is: Java SE 1.6.
Please follow the machine setup instructions at
http://source.android.com/source/download.html
************************************************************
build/core/main.mk:131: *** stop. Stop."
Can anybody advise?
JBQ
> --
> You received this message because you are subscribed to the "Android Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.
Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.
You can use the following steps to get the Sun JDK:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
~cco3
You will encounter errors in cts if you try to build with openjdk6.You can use the following steps to get the Sun JDK:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
sudo apt-get update
sudo apt-get install sun-java6-jdk
JBQ
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
--
I was about to ask what the short term solution to this was going to be. Either manually installing, or compatibility with open jdk. Dependence on foreign oil err oracle is likely to be a painful transition.
Is it hoping for an update to open jdk that will make it fully replaceable as sun-jdk what we are looking for or a fix in our source tree to be compatible that way I guess is the question.
--
I guess you answered the question in a roundabout way. I appreciate it and know you can't control these outside forces. Just wanted to confirm it would be the only package installed outside of ubuntu's repositories in the future.
Thanks.
The Java version required is in a Ubuntu repository. Im on my phone but can confirm when i get home. By following the instructions exactly and a little more info from the CyanogenMod wiki I was able to build on the second attempt.