到官网下载eclipse安装包(linux)
解压后得到一个eclipse目录
把得到的eclipse完整复制到 /opt
创建连接:ln -s /opt/eclipse/eclipse /usr/bin/eclipse
创建图标:vi /usr/share/applications/eclipse.desktop
输入内容:
[Desktop Entry]
Type=Application
Name=Eclipse
Comment=Eclipse Integrated Development Environment
Categories=Development
Icon=/opt/eclipse/icon.xpm
Exec=eclipse
Terminal=false
安装完成!