I'm running an Ubuntu 14.04 and want to install the Eclipse IDE for both Java and C/C++ programming. I installed the separate installation files from their official website. I followed this thread here. (The top answer)

The steps helped me install the Java IDE but I don't know what changes I should make to the procedure to install the C/C++ IDE.

Another thread here, recommended to install eclipse-cdt but the Eclipse version installed is outdated. (Doesn't allow me to install Pydev)

I have TWO questions:

  1. Can the C/C++ libraries be downloaded from within eclipse, like Pydev?

  2. If not, how do I install both IDEs without interfering with each other?

P.S. I commented this query in the first thread but got no reply, that is why I'm asking a fresh question!


Your first question

No, you can't download the C/C++ libraries from within eclipse, like Pydev.

Your second question

  1. Install Eclipse JEE and Eclipse C/C++ in separate folders in /opt eg:

  2. Create two different desktop files in ~/.local/share/applications

    • ~/.local/share/applications/eclipse_cpp.desktop

      [Desktop Entry]
      Name=Eclipse C++
      Comment=Eclipse Integrated Development Environment
    • ~/.local/share/applications/eclipse_jee.desktop

      [Desktop Entry]
      Name=Eclipse JEE
      Comment=Eclipse Integrated Development Environment
  3. During the first start of both Eclipse distributions, select a different workspace folder for each of them, eg


    Alternatively you can change the workspace folder in Eclipse itself via File > Switch Workspace

Now you can use both distributions in parallel.

enter image description here

| improve this answer | |

You can install eclipse from the software center and then open the terminal and type:

sudo apt-get install eclipse eclipse-cdt g++  
| improve this answer | |
  • Would that not be an attempt to install Eclipse twice? – user308164 Aug 2 '16 at 7:46
  • No. it's just add cdt to the existing exlipse – Shaked Eyal Aug 3 '16 at 8:20
  • These solutions wouldn't work as I am working software downloaded from the official site. – SY_13 Aug 5 '16 at 16:17

A better way to do it is to use umake because you'll get the very latest build. sudo apt install will only get you the build that's currently available from the repository, which could be surprisingly old.

To install umake:

sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make  
sudo apt update  
sudo apt install ubuntu-make  

Then to get eclipse (2018/19) at the moment:

umake ide eclipse

For java EE:

umake ide eclipse-jee

For C/C++:

umake ide eclipse-cpp

For PHP:

umake ide eclipse-php


| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.