1 ./jdk-6u7-linux-i586.bin
yes
Unpacking...Checksumming...
Extracting...
./jdk-6u7-linux-i586.bin: 480: ./install.sfx.3092: not found
Failed to extract the files. Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information.
$ sudo apt-get install ia32-libs
2 sudo su 进入root权限 ctrl D退出
3 sudo apt-get install nautilus-gksu安装插件,然后右击文件夹,多出一项“open as Administrator" , 就能以最高权限打开文件夹,
复制,编辑不再有限制。(注意安装后重启)(未成功)
sudo chmod 777 /usr/lib/jvm命令后就可以在此文件夹内进行复制粘贴了
配置jdk
vi /etc/profile
export PATH=/home/zeus/bin:/usr/bin/git:/home/android/lenovosdk/android-sdk_eng.zeus_linux-x86/tools:/usr/lib/jvm/java-6-sun/jre/bin:"$PATH"
vi ~/.bashrc
#set java environment
export JAVA_HOME=/usr/lib/jvm/java-6-sun/
export JRE_HOME=JAVA_HOME/jre
export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH:/home/android/lenovosdk/android-sdk_eng.zeus_linux-x86/tools
alias adb1="/home/android/lenovosdk/LEOS_mobile_sdk_1.7.0_101029_linux/tools/adb"
alias adb2="/home/android/lenovosdk/android-sdk_eng.zeus_linux-x86/tools/adb"