Install and configure eclipse in ubuntu10.10

Source: Internet
Author: User

The first part is installation. Two methods.

Method 1:

Sudo apt-Get install eclipse

Or directly download from Ubuntu Software Center. This method is the most convenient, but it is often not the latest version. For enthusiasts pursuing new features, you can use the following method.

Method 2:

From official http://www.eclipse.org/downloads/
Download the latest version. For example, the download is:

Eclipse IDE for Java developers

. Go to the downloaded directory:

Sudo tar-zxvf eclipse-java-helios-SR1-linux-gtk.tar.gz-C/usr/local

 

Decompress eclipse to/usr/local. The rest is the same as in windows. You can directly double-click it to run it. But it is very troublesome to run under/usr/local/eclipse every time. Therefore, you can create a starter on the desktop or a shortcut in the applications menu.

1. Create a starter on the desktop:

Right-click and choose create launcher. Then, enter:

Type: Application

Name: Eclipse

Command:/usr/local/Eclipse/eclipse // The place where we install

Click the simple icon and find the/usr/local/Eclipse/icon. XPM icon. Click OK.

2. Create a shortcut in the applications menu to add the icon:

Sudo gedit/usr/share/applications/eclipse. Desktop

Then add the following content:

[Desktop entry] <br/> encoding = UTF-8 <br/> name = eclipse <br/> comment = Eclipse IDE <br/> exec =/usr/local/Eclipse/eclipse <br/> icon =/usr/local/Eclipse/icon. XPM <br/> terminal = false <br/> startupnotify = true <br/> type = application <br/> categories = application; development;
 

Save and take a look at applications-> programing. How can this problem be solved?

The second part is configuration.

1. Automatic completion

Window-> preferences-> JAVA-> content assist, and then find auto activation triggers for Java on the right side: You can see that there is only one ".". Add "abcdefghijklmnopqrstuvwxyz." To the end .". Save it.

2. Install common plug-ins

Eclipse-> help-> eclipse marketplace search for the various plug-ins you want. Introduction:

ADT: Android development plugin

Pydev: Python programming environment

CDT: C/C ++ programming environment

SVN: Collaborative Development plug-in

Other personalized configurations, such as fonts and formater, will not be described.

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.