yum install java
下载地址
tar -zxvf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz -C /opt
ln -s /opt/eclipse/eclipse /usr/bin/eclipse eclipse与/usr之间有空格
vim /usr/share/applications/eclipse.desktop
[Desktop Entry]Encoding=UTF-8Name=Eclipse 4.4.1Comment=Eclipse LunaExec=/usr/bin/eclipseIcon=/opt/eclipse/icon.xpmCategories=Application;Development;Java;IDEVersion=1.0Type=ApplicationTerminal=0
unzip the cdt.zip download form the eclipse, stored in the centos 7 vmware /home/sunyj/software and cp all files of plugins to /opt/eclipse/plugins restart the eclipse
1.cd /home/sunyj/workspace/git 2. git clone https://sunyongjie1984:Git541981101211@github.com/sunyongjie1984/sll 3. eclipse& 4. new c++ project with makefile existing codes 5. choose the folder of /home/sunyj/workspace/git/sll/isll