Ubuntu14.04下安装eclipse

来源:互联网 发布:怎样开淘宝网店需要多少钱 编辑:程序博客网 时间:2024/04/30 09:23

一、将eclipse-java-luna-SR2-linux-gtk.tar.gz解压到/opt

sudo tar -xzvf eclipse-java-luna-SR2-linux-gtk.tar.gz -C /opt
二、创建快捷方式

2-1.在桌面上新建一个文件eclipse.desktop

sudo vim eclipse.desktop
2-2.添加如下内容
[Desktop Entry]Categories=Development;Comment[zh_CN]=Comment=Exec=/opt/eclipse/eclipseGenericName[zh_CN]=IDEGenericName=IDEIcon=/opt/eclipse/icon.xpmMimeType=Name[zh_CN]=eclipseName=eclipsePath=StartupNotify=trueTerminal=falseType=ApplicationX-DBUS-ServiceName=X-DBUS-StartupType=X-KDE-SubstituteUID=falseX-KDE-Username=owen
2-3.给该文件执行权限
sudo chmod 777 eclipse.desktop


0 0