由于Java版本不正确导致Android fastboot构建失败

时间:2012-02-09 15:42:37

标签: java android makefile jdk1.6 fastboot

我正在尝试使用this guide为Android编译fastboot,但我收到以下错误:

************************************************************
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
************************************************************

请注意,我有正确的主要版本,但没有正确的次要版本。 Android makefile真的很挑剔吗?在尝试编译源代码而不是这个版本时,有没有办法可以使用Java 1.6.0?我是否必须卸载Java才能完成此任务?

1 个答案:

答案 0 :(得分:1)

AH。发布后不久,我发现了Ubuntu 32-bit users的这个指南(为什么我在问题的前一个小时内找不到它,我不知道......)。我现在有fastboot工作。我以为我会留下这些信息以防其他人遇到这个问题。 :)