環境:java
Ubuntu14.04_x86_64linux
jdk-7u75-linux-x64.gz:git
連接: http://pan.baidu.com/s/1c0tpgDq 密碼: 3t4aeclipse
eclipse-cpp-kepler-SR2-linux-gtk-x86_64.tar.gz :jvm
連接: http://pan.baidu.com/s/1mg87Rg0 密碼: dxm8spa
1.建立jvm目錄, sudo mkdir /usr/lib/jvm插件
2.解壓jdk-7u75-linux-x64.gz到jvm目錄, sudo tar zxvf jdk-7u75-linux-x64.gz -C /usr/lib/jvmip
3.添加環境變量, 執行gedit /etc/profile, 添加it
#set java environment
export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_75
export JRE_HOME=${JAVA_HOME}/jre
export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib
export PATH=${JAVA_HOME}/bin:$PATHio
4. 查看java 版本, 執行java -version
1. 解壓eclipse-cpp-kepler-SR2-linux-gtk-x86_64.tar.gz到/opt下, sudo tar zxvf eclipse-cpp-kepler-SR2-linux-gtk-x86_64.tar.gz -C /opt/
2. 執行sudo chown anson:anson /opt -R
3. 打開/opt/eclipse目錄,雙擊執行eclipse
4. 右鍵左邊啓動欄, eclipse圖標, Lock to Launcher
1. Help>Eclipse Market Place>search>find, Egit
2. install
3. Window>Preferce>team, 此時已經支持Git了