Eclipse On Ubuntu

This page has instructions for installing the Eclipse Integrated Development Environment (IDE) for Java. Eclipse is a cross-platform IDE that supports a large number of languages and development technologies.

Ubuntu 11.10 (Oneiric Ocelot)

Ubuntu's repository provides Eclipse version 3.7.0 (Indigo), just like installing Java on Ubuntu, we will install Eclipse via the command-line package manager, and once again will require an active Internet connection. Open a terminal and enter the following:

sudo apt-get install eclipse

You will be prompted for your password to install the software, so go ahead and do so. After aptitude determines what all needs to be installed, you'll see something like the output below.

The following NEW packages will be installed:
  default-jdk eclipse eclipse-jdt eclipse-pde eclipse-platform eclipse-platform-data eclipse-rcp fastjar 
  jarwrapper junit4 libcommons-compress-java libcommons-el-java libdb-java
  libdb-je-java libdb5.1-java libdb5.1-java-gcj libhamcrest-java libicu4j-4.4-java libicu4j-java libjasper-java 
  libjetty-java liblucene2-java openjdk-6-jdk sat4j
0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 157 MB/168 MB of archives.
After this operation, 224 MB of additional disk space will be used.
Do you want to continue [Y/n]?

Go ahead and approve by typing "Y" and hitting <Enter>. Once everything is finished, you can start eclipse either by executing the main binary (eclipse) in the terminal, or by using a GUI shortcut.