Install latest Eclipse IDE in Ubuntu 14.04, 13.10

來源:互聯網
上載者:User

標籤: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

- 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=ApplicationExec=/opt/eclipse/eclipseTerminal=falseIcon=/opt/eclipse/icon.xpmComment=Integrated Development EnvironmentNoDisplay=falseCategories=Development;IDE;Name[en]=eclipse.desktop

According to cheour, I 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

- Launch Eclipse



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

Install latest Eclipse IDE in Ubuntu 14.04, 13.10

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.