Thursday, April 18, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 25832  / 2 Years ago, sat, june 11, 2022, 10:10:47

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!


More From » 14.04

 Answers
7

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:



    /opt/eclipse-cpp
    /opt/eclipse-jee

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




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



      [Desktop Entry]
      Encoding=UTF-8
      Version=1.0
      Type=Application
      Name=Eclipse C++
      Comment=Eclipse Integrated Development Environment
      Icon=eclipse
      Exec=/opt/eclipse-cpp/eclipse
      StartupNotify=true
      StartupWMClass=Eclipse-CPP

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



      [Desktop Entry]
      Encoding=UTF-8
      Version=1.0
      Type=Application
      Name=Eclipse JEE
      Comment=Eclipse Integrated Development Environment
      Icon=eclipse
      Exec=/opt/eclipse-jee/eclipse
      StartupNotify=true
      StartupWMClass=Eclipse-Java


  3. During the first start of both Eclipse distributions, select a different workspace folder for each of them, eg



    workspace-cpp
    workspace-jee


    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


[#18819] Saturday, June 11, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
hreadsoplet

Total Points: 220
Total Questions: 108
Total Answers: 105

Location: Serbia
Member since Fri, Jun 3, 2022
2 Years ago
;