I tried to transplant the wireless_tools to Android4.0 system, but I have a problem with Java
Posted
by
Chen Guoli
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Chen Guoli
Published on 2013-05-20T02:13:42Z
Indexed on
2014/06/13
15:42 UTC
Read the original article
Hit count: 589
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?
© Ask Ubuntu or respective owner