Install the latest version of Eclipse in Ubuntu 14.04

Source: Internet
Author: User

Install the latest version of Eclipse in Ubuntu 14.04

Source: Linux Community Linux

1. Installing OPENJDK Java 7

If you do not have Java installed on your system, we need to install OpenJDK Java 7 in advance as follows. Use Ctrl+alt+t to open the terminal and follow the steps below to install the Java version installation command required:

1) If you have installed OPENJDK in Ubuntu Software Center, please use the following command to remove it:

sudo apt-get purge openjdk*

2) Add PPA source

sudo add-apt-repository Ppa:webupd8team/java

3) Update the source database

sudo apt-get update

4) Installing Oracle Java 7

sudo apt-get install Oracle-java7-installer

2. Download the latest Eclipse version

Visit the website to download the latest version of Eclipse,

http://www.eclipse.org/downloads/?osType=linux&release=undefined

3. Unzip Eclipse

Use Ctrl+alt+t to open the terminal and extract Eclipse to the/opt/directory for global use using the following command:

cd/opt/&& sudo tar-zxvf ~/download/eclipse-*.tar.gz

After the decompression is complete, you can see Eclipse in the/opt/directory.

4. Create an Eclipse shortcut

1) Perform the following command at the terminal

Gksudo Gedit/usr/share/applications/eclipse.desktop

2) Paste and save the following content

[Desktop Entry]

Name=eclipse 4

Type=application

Exec=/opt/eclipse/eclipse

Terminal=false

icon=/opt/eclipse/icon.xpm

Categories=development;ide;

Name[en]=eclipse

Installation complete, wish you success!

If the content is wrong, refer to the original text:

Www.linuxidc.com/Linux/2014-08/10509.htm

Install the latest version of Eclipse in Ubuntu 14.04

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.