1

i want to install eclipse in my Ubuntu 16.04.2 LTS only for c\c++. but whenever i typed the command apt install eclipse-cdt it installs with Java which i don't want

i can download only c\c++ package from their website but i want to know that is their any way to do it with terminal.

i also tried uninstall the Java packages but uninstall button is disable their.this is image link (but unable in windows 10)

thus i want to install clean eclipse only with CDT c\c++ which is possible?

2 Answers2

1

I am not 100% sure on this but I believe to use IDE specific builds, you have to compile yourself. For the C\C++ builds I believe you need the eclipse-cpp-neon-3 source

https://eclipse.org/downloads/packages/eclipse-ide-cc-developers/neon3

Bruce
  • 196
1

Eclipse is itself written in Java, so it requires the Java Runtime Environment (JRE), regardless of which programming language you plan to develop in. That's why "java" is a dependency of eclipse in the package manager. If you plan to do Java development, you'll also need the Java Development Kit (JDK). If you plan to do C/C++ development, you'll need the eclipse-CDT plugin (there are other plugins which provide support for other programming languages.)