Install eclipse under Linux (UBUNTU)

Source: Internet
Author: User

So far, the official latest version of Eclipse is Eclipse Kepler (4.3.2), and we can use the following steps to install it quickly in Ubuntu 14.04 or other Ubuntu versions.

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:

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

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. 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 ~/downloads/eclipse-*.tar.gz

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

3. Create an Eclipse shortcut

1. Execute the following command in the terminal

sudo 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
comment=integrated Development environment
Nodisplay=false
Categories=development;ide;
Name[en]=eclipse

So far, we've installed the latest version of Eclipse Kepler (4.3.2) into Ubuntu 14.04 and can use it.

Install eclipse under Linux (UBUNTU)

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.