1 下載Eclipse for linux C++html
https://www.eclipse.org/downloads/eclipse-packages/?osType=linux&release=undefinedjava
2 tar zxvf ...linux
3 ./eclipsecentos
4安裝時可能提示GTK+版本太低,使用一鍵安裝GTK+:(centos6.5實測可用)oracle
yum install gtk2 gtk2-devel gtk2-devel-docseclipse
5 提示JDK問題,安裝JDKhtm
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 下載頁ip
下載後解壓至/usr/local/變量
環境變量:cli
在/etc/profile中加入
export JAVA_HOME=/usr/local/jdk1.8.0_131
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$JAVA_HOME/bin:$PATH
保存後執行 source /etc/profile