Install Eclipse JDT on top of CDT

Viewed 49086

I have the eclipse CDT installed, and I would like to install Java development functionality (JDT) on top of my CDT installation. I've been Googling from an hour but I can't figure out how to do this.

What plugin do I need to install? What update site do I need to use?

4 Answers

For Eclipse 2020-06 the weakest precondition seems to be

1.) JDK 11

2.) eclipse.ini has top entries

-vm
<jdk-11/jre-11 path>/bin

3.) JDT appears in "Install New Software" repository http://download.eclipse.org/releases/2020-06 as "Eclipse Java Development Tools"

NOTE: Installation of Java 11 is not required, downloading/extracting ZIP File is sufficient, e.g. if you prefer to continue development with Java 8

Update for Eclipse Release 2021-3

Here, with the JDT-Release JDK 11 or later is already installed

  • Choose Menu Help->Install New Software,
  • Select Work With: "2021-03 - http://download.eclipse.org/releases/2021-03"
  • Filter "Development Tools"
  • Select "C/C++ Development Tools SDK"
  • Complete Installation with Next ... Restart Eclipse
Related