'How to install CDT to Eclipse Luna

I am trying to install the C/C++ development tools for Eclipse Luna.

Taking reference from this page here, I navigated to Help> Install New Software> and placed http://download.eclipse.org/tools/cdt/releases/8.4 in the "Works with" section.

I got the options for C/C++ Development Tools and C/C++ Development Tools SDK which I downloaded and restarted Eclipse. However, on restarting eclipse I cannot find any place/interface to create C programs or files. The tools are showing up in the installed softwares list(screen attached).

I have also installed MinGw as instructed here.

Have I missed any step? How can I start C development in Luna. Please advice.enter image description here



Solution 1:[1]

Your JDK version is below 1.6 which is too old. You should upgrade it to 1.7 or higher.

Solution 2:[2]

I had the same problem - installing java 8 helped.

Solution 3:[3]

I had exactly the same problem, using Luna SR 1a on Ubuntu 12.04 LTS.

Switching from Java 1.6.0_34 to 1.7.0_75 fixed the issue - everything works now

Solution 4:[4]

I had the same issue with Luna. I installed Java 1.7.0_80, which then allowed me to change to the C/C++ Perspective and create new C/C++ projects.

My system previously only had Java 1.6.0_45, which was sufficient to run Luna but apparently insufficient to run CDT in its entirety.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Axalo
Solution 2 MaLiN2223
Solution 3 wege11
Solution 4 RonR