Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My Linux system is Ubuntu Kylin, a new branch of Ubuntu spreading mainly in China. I have changed some files, such as wireless.22.h, ifrename.c and iwlib.h, in wireless_tools.29/ which is located in Android4.0 root directory. Then I followed these steps:

$ cd ~/Android4.0
$ su
$[key](change to root)
root# source build/envsetup.sh
root# cd ~/Android4.0/wireless_tools.2.9/
root# mm

Then I got a message telling me that:

Your version is: java version "1.7.0_21".
The correct version is: Java SE 1.6.

Then I did as How can I uninstall my current java and install sun java 1.6 The java was installed successfully, but when i tried mm again:

Your version is: java version "1.6.0_27".
The correct version is: Java SE 1.6.

Then I tried https://source.android.com/source/initializing.html , but it didn't work.

How can I install "java SE 1.6." correctly?

share|improve this question
    
On an unrelated note, it's recommended that you use sudo for each command rather than staying in root. –  saiarcot895 Jun 13 at 15:14
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.