1. Download our Official Android App: Forums for Android!

Questions about building Android 2.3 on ubuntu 10.04.

Discussion in 'Android Apps & Games' started by i.Android, Aug 17, 2011.

  1. i.Android

    i.Android Lurker
    Thread Starter
    Rank:
    None
    Points:
    25
    Posts:
    2
    Joined:
    Aug 17, 2011

    Aug 17, 2011
    2
    0
    25
    it confused me about two days, and still i have no idea.

    i build andriod 2.3 on my ubuntu 10.04 follow the url Initializing a Build Environment | Android Open Source.

    first i download the jdk 1.6 at http://download.oracle.com/otn-pub/java/jdk/6u27-b07/jdk-6u27-linux-i586.bin, then i install this package follow the Installation Instructions and set the JAVA_HOME CLASS_PATH and PATH environment.

    when i type java -version in the terminal, it display the java version successfully.

    after steps . build/envsetup.sh and lunch full-eng, i use sudo make to build the system ,but it still says

    ************************************************************
    You are attempting to build with the incorrect version
    of java.
    Your version is: /bin/bash: java: command not found.
    The correct version is: 1.6.
    Please follow the machine setup instructions at
    http://source.android.com/source/download.html
    ************************************************************
    build/core/main.mk:114: *** stop. Stop.

    anybody can give me some suggestions?

    thx for your kindness... god bless me....:mad::(
     

    Advertisement

Share This Page

Loading...