`
BestUpon
  • 浏览: 285606 次
  • 性别: Icon_minigender_1
  • 来自: 兰州
社区版块
存档分类
最新评论

Ubuntu 中安装 Eclipse

阅读更多

前面说了怎么样安装JDK之后,我们就要安装Eclipse;

1。从官方网站上去下载eclipse linux版本:(网站:http://www.eclipse.org/downloads/)。个人下载的是eclipse-jee-galileo-SR2-linux-gtk.tar.gz

2。在终端切换到你的系在目录:

bestupon@bestupon-laptop:~$ cd 下载
bestupon@bestupon-laptop:~/下载$ 

 3。使用命令:

$sudo tar xvfz eclipse-jee-galileo-SR2-linux-gtk.tar.gz  -C /opt

 解压到/opt/eclipe/ 目录下

4。在桌面上创建启动图标;在桌面(右键单击桌面->创建启动器);然后选择

名称:Eclipse Platform
命令:eclipse
图标: /opt/eclipse/icon.xpm(ubuntu 10.04 上面有个图标,点击之后,选择路径)

 

5. 在应用程序中创建启动图标:

sudo gedit /usr/share/applications/eclipse.desktop

 然后在弹出的文件中输入:

[Desktop Entry]
Encoding=UTF-8
Name=Eclipse Platform
Comment=Eclipse IDE
Exec=/opt/eclipse/eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
StartupNotify=true
Type=Application
Categories=Application;Development;

 保存文件。完成整个安装过程。可以双击桌面 eclipse的图标来运行eclipse。

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics