Hi,
As far as I know, Eclipse CPP 2020-06 / CDT 9.11 should still support Java 8, so I tried to install our product on top of Eclipse CPP 2020-06. The installation had failed (with different errors, depending on the way I did that). Let's say that the obvious alternative of using Java 11 is not applicable right now.
Here is the very simple P2 that can be used to see similar discrepancies when installing to that Eclipse version.
When installing it using Eclipse Install New Software the process goes fine, but after restart Eclipse reports an error (and many NPEs in log). To me it seems that it is caused by "Latest Eclipse Release" entry in available installation sites that allow some stuff from 2020-09 to be installed and that might require Java 11. If that site is disabled, I have a dependency problem reported by installation wizard:
Cannot complete the install because some dependencies are not satisfiable
Software being installed: a.jre.javase 9.0.0
Software currently installed: C/C++ Autotools support 9.11.1.202004012023 (org.eclipse.cdt.autotools.feature.group 9.11.1.202004012023)
Cannot satisfy dependency:
From: C/C++ Autotools support 9.11.1.202004012023 (org.eclipse.cdt.autotools.feature.group 9.11.1.202004012023)
To: org.eclipse.equinox.p2.iu; org.eclipse.tools.templates.freemarker.java11 [1.1.100.202001140305,1.1.100.202001140305]
Cannot satisfy dependency:
From: Template Engine Freemarker Support (Java 11) 1.1.100.202001140305 (org.eclipse.tools.templates.freemarker.java11 1.1.100.202001140305)
To:
osgi.ee; (&(
osgi.ee=JavaSE)(version=11))
Any ideas on how to proceed with this without migrating to Java 11?
Thanks in advance,
Alex
--
Alexander Koptelov