码迷,mamicode.com
首页 > 系统相关 > 详细

Install latest Eclipse IDE in Ubuntu 14.04, 13.10

时间:2014-10-08 15:10:55      阅读:457      评论:0      收藏:0      [点我收藏+]

标签:des   style   http   color   io   os   ar   java   for   

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

bubuko.com,布布扣

- 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

bubuko.com,布布扣

- Launch Eclipse

bubuko.com,布布扣


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

Install latest Eclipse IDE in Ubuntu 14.04, 13.10

标签:des   style   http   color   io   os   ar   java   for   

原文地址:http://my.oschina.net/lee2013/blog/324865

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!