Install eclipse in Ubuntu 12.04

Source: Internet
Author: User

Install eclipse in Ubuntu 12.04

Method 1: (the disadvantage is that a large number of programs such as openjdk cannot be removed during installation. The advantage is that the installation is simple)

$ Sudo apt-Get install eclipse

Method 2: (the installation content is refreshing, but the disadvantage is that the configuration is troublesome)
1. Install JDK. See install JDK 7 in Ubuntu 12.04.
2. Download eclipse

Download the software package from http://www.eclipse.org/downloads/index-demo.php, such as: Eclipse IDE for C/C ++ developers

3. decompress the file
$ Sudo MV eclipse-cpp-juno-M7-linux-gtk.tar.gz/usr/lib/
$ CD/usr/lib/
$ Sudo tar-zxvf eclipse-cpp-juno-M7-linux-gtk.tar.gz
$ Sudo RM./eclipse-cpp-juno-M7-linux-gtk.tar.gz

4. Create a startup shortcut
$ Sudo gedit/usr/share/applications/eclipse. Desktop
The content is as follows:
[Desktop entry]
Type = Application
Name = eclipse
Comment = eclipse integrated development environment
Icon =/usr/lib/Eclipse/icon. XPM
Exec =/usr/lib/Eclipse/eclipse
Terminal = false
Categories = development; ide; Java;

5. Localization
Download the corresponding Chinese package from http://www.eclipse.org/babel/downloads.php.
1) Select the latest Babel Language Pack zips and update sites-r0.9.1 indigo.
2) Select the BabelLanguagePack-eclipse-zh_3.7.0.v20111128043401.zip under language: Chinese (simplified)
3) decompress the file
$ Sudo unzip BabelLanguagePack-eclipse-zh_3.7.0.v20111128043401.zip
$ Sudo mV./Eclipse/plugins/*/usr/lib/Eclipse/plugins/
$ Sudo mV./Eclipse/Features/*/usr/lib/Eclipse/Features/
$ Sudo Rm-r eclipse

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.