This post originated from an RSS feed registered with Java Buzz
by Wolf Paulus.
Original Post: Android says:"Java 6 is not supported"
Feed Title: Wolf's Web Journal
Feed URL: http://wolfpaulus.com/feed/
Feed Description: Journal - dedicated to excellence, and motivated by enthusiasm to trying new things
"Don't be too proud of this technological terror you've constructed. The ability to destroy a planet is insignificant next to the power of the Force."
Because of annotation incompatibilities, Android cannot be built with Java 6.0 but requires the older Java SE 5.0. Kind of shameful, considering that J2SE 5.0 reached its end of service life (EOSL) on November 3, 2009, which is the date of the final publicly available update of version 5.0 (J2SE 5.0 Update 22). The Android document however states firmly:
"JDK 5.0, update 12 or higher. Java 6 is not supported, because of incompatibilities with @Override."
Appropriately, Apple doesn't include an end-of-life product in a current OS X release and therefore, Java 5.0 is absent on OS X 10.6 Snow Leopard. Still, if we want to build Android on a somewhat recent OS X version, we need Java 5. So here is how we can force this outdated Java version back into the current version of Mac OS X.