Ubuntu下安装Eclipse
【前提条件】已安装好JDK
-
解压eclipse到 /opt目录
$sudo tar -zxvf eclipse-jee-kepler-R-linux-gtk-x86_64.tar.gz -C /opt/
-
创建启动快捷方式
-
当前用户
$vi ~/.local/share/applications/eclipse.desctop
-
全局
$sudo vi /usr/share/applications/eclipse.desctop
内容如下:
#!/usr/bin/env xdg-open [Desktop Entry] Name=Elipse Kepler Type=Application Icon=/opt/eclipse/icon.xpm Exec=/opt/eclipse/eclipse Comment=IDE for JavaEE developers Categories=Development;IDE; Terminal=false