1.Android Sdk
#set sdk environment
export SDK_HOME=(这是sdk路径)/adt-bundle-linux-x86_64-20131030/sdk/
export PATH=$SDK_HOME/tools:$SDK_HOME/platform-tools:$PATH
2.Java Sdk
export JAVA_HOME=/usr/share/jdk1.6.0_14
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar