下载eclipse-standard-kepler-SR2-linux-gtk.tar.gz安装包
进入安装包所在的目录
执行命令:
sudo tar zxvf eclipse-standard-kepler-SR2-linux-gtk.tar.gz -C /usr/local/
启动eclise验证安装是否正确:
/usr/local/eclipse/eclipse
创建桌面链接:
sudo vim /usr/share/applications/eclipse.desktop
写入以下内容:
[Desktop Entry]
Name=Eclipse
Comment=Eclipse IDE
Encoding=UTF-8
Exec=/usr/local/eclipse/eclipse
Icon=/usr/local/eclipse/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;
保存退出:
执行 source /usr/share/applications/eclipse.desktop
OK啦!!!!在search中输入eclipse就能启动啦!