ubuntu安装eclipse

1、下载http://www.eclipse.org/downloads/index-developer.php

2、将eclipse-jee-luna-RC3-linux-gtk-x86_64.tar.gz解压到 /usr/local 目录
cd /home/jzk/Downloads
sudo tar zxvf eclipse-jee-luna-RC3-linux-gtk-x86_64.tar.gz -C /usr/local
cd /usr/local/

3、创建启动快捷方式
sudo gedit /usr/share/applications/eclipse.desktop
加入如下内容:
[Desktop Entry]
Categories=Development;
Comment[zh_CN]=
Comment=
Exec=/usr/local/eclipse/eclipse
GenericName[zh_CN]=IDE
GenericName=IDE
Icon=/usr/local/eclipse/icon.xpm
MimeType=
Name[zh_CN]=eclipse
Name=eclipse
Path=
StartupNotify=true
Terminal=false
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=owen


4、赋权限
cd /usr/share/applications
sudo chmod u+x eclipse.desktop

4. 给桌面添加快捷方式
进入/usr/share/application,找到刚才创建的eclispe.desktop,拷贝到桌面
从桌面双击eclipse运行

http://subclipse.tigris.org/update_1.8.x

猜你喜欢

转载自jinjzk.iteye.com/blog/2084607