1 解压 Eclipse luna到/opt
tar -zxvf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz -C /opt
2 创建软链接
ln -s /opt/eclipse/eclipse /usr/bin/eclipse
3 创建一个Gnome 启动
vi /usr/share/applications/eclipse.desktop
添加如下代码:
[Desktop Entry] Encoding=UTF-8 Name=Eclipse 4.4.1 Comment=Eclipse Luna Exec=/usr/bin/eclipseIcon=/opt/eclipse/icon.xpm Categories=Application;Development;Java;IDE Version=1.0 Type=Application Terminal=0
时间: 2024-10-10 20:43:33