I'm trying to compile fastboot for Android using this guide, but I'm getting the following error:
************************************************************
You are attempting to build with the incorrect version
of java.
Your version is: java version "1.6.0_23".
The correct version is: Java SE 1.6.
Please follow the machine setup instructions at
http://source.android.com/source/download.html
************************************************************
Note that I have the correct major version, but not the correct minor version. Is the Android makefile really this picky? Is there a way that I can use Java 1.6.0 when trying to compile the source code instead of this revision? Do I have to uninstall Java to accomplish this?