Install latest Eclipse IDE in Ubuntu 14.04, 13.10

Eclipse Kepler 4.3.2 SR2 is the most recent release from the Eclipse top-level project. It contains what you need to build applications based on Eclipse technology, including integrated development environments IDE, and rich client applications using the Eclipse Rich Client Platform RCP. The Eclipse Kepler provides superior Java editing with Java Development Tools, Plug-in Development Environment, Git Team provider, and much more.

Step 1: Install Java (JRE/JDK)

- First install Java 7 and above if not installed

$ sudo apt-get install openjdk-7-jre

or

$ sudo apt-get install openjdk-7-jdk

Step 2: Download Eclipse Kepler IDE

- Next button below to download the latest Eclipse IDE (32bit or 64bit) package. There are different packages depending on what package you want.

Eclipse Kepler IDE Download

- Click Save File

eclipse-kelpler-01

- From terminal, run command to move downloaded package to /opt directory

$ sudo mv Downloads/eclipse-* /opt/

Step 3: Extract Package

- Run the following commands. Ensure the file-name is correct on your version

$ cd /opt/
$ sudo tar -xvf eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz

Step 4: Create new Desktop File

- Create a new desktop file called ‘eclipse.desktop’ in /usr/share/applications/

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

- Then add the following lines to the above file and save

[Desktop Entry]
Name=Eclipse 
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=eclipse.desktop

According to cheourI changed the exec line in the gedit file from

Exec=/opt/eclipse/eclipse 

to

Exec=env UBUNTU_MENUPROXY= /opt/eclipse/eclipse 

and it worked right

Step 5: Additional Tasks

- Run the following command to automatically install it in Unity

sudo desktop-file-install /usr/share/applications/eclipse.desktop

- Create a symlink in /usr/local/bin

cd /usr/local/bin/

sudo ln -s /opt/eclipse/eclipse

- For Eclipse icon to be displayed in dash, run following command

sudo cp /opt/eclipse/icon.xpm /usr/share/pixmaps/eclipse.xpm

eclipse-kelpler-03

- Launch Eclipse

eclipse-kelpler-04


原文:Install latest Eclipse IDE in Ubuntu 14.04, 13.10

转载于:https://my.oschina.net/lee2013/blog/324865

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值