I installed the current latest version of eclipse (202006) CDT. I have tried installing the DevStyle plugin and received the following error:
Cannot complete the install because some dependencies are not satisfiable Software being installed: a.jre.javase 14.0.0 Software currently installed: C/C++ Autotools support 126.96.36.199004012023 (org.eclipse.cdt.autotools.feature.group 188.8.131.52004012023) Cannot satisfy dependency: From: C/C++ Autotools support 184.108.40.206004012023 (org.eclipse.cdt.autotools.feature.group 220.127.116.11004012023) To: org.eclipse.equinox.p2.iu; org.eclipse.tools.templates.freemarker.java11 [18.104.22.168001140305,22.214.171.124001140305] Cannot satisfy dependency: From: Template Engine Freemarker Support (Java 11) 126.96.36.199001140305 (org.eclipse.tools.templates.freemarker.java11 188.8.131.52001140305) To: osgi.ee; (&(osgi.ee=JavaSE)(version=11))
This error message is fairly cryptic to me. I looked a similar problem here. But this specifies Java 11 and Java 14. I don’t know how this relates to my JRE 1.8.0_251 (Version 8 Update 251). I also don’t understand the new scheme for Java. Does Oracle not release JRE’s anymore?
I don’t need to program in Java. I only need runtime environment to run eclipse, so I don’t want/need full JDK (especially since this seems to require some licensing/commercial aspects). I also believe I will get similar errors with other plugins that I intend to install.
So two questions here:
To: osgi.ee; (&(osgi.ee=JavaSE)(version=11))
This means that at least Java 11 is required by this code. It will not run with Java 8. You will have to move to a newer Java.
Newer versions of Java only have a JDK with no separate JRE. The Java builds on the OpenJDK site have a ‘normal’ free license and are essentially to same as the Oracle Java.