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.