Install Eclipse under Ubuntu 12.04

Source: Internet
Author: User

Method One: (Disadvantage is the installation of additional OPENJDK and other large number of programs and can not be removed, the advantage is simple installation)

$ sudo apt-get install eclipse


Method Two : (The advantage is the installation content is refreshing, the disadvantage is the configuration trouble)
1. Install JDK, refer to Ubuntu 12.04 to install JDK 7

2. Download Eclipse

Download the appropriate version from http://www.eclipse.org/downloads/index-developer.php, such as: Eclipse IDE for C + + developers

3. Unzip 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 contents are 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. Chinese
Download the corresponding version of the Chinese package from http://www.eclipse.org/babel/downloads.php.
1) Select Latest Version Babel Language Pack zips and Update sites-r0.9.1 under Indigo
2) Select the Babellanguagepack-eclipse-zh_3.7.0.v20111128043401.zip under Language:chinese (Simplified)
3) Unzip 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

Install Eclipse under Ubuntu 12.04

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.