Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error Installing DevStyle plugin for Eclipse

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 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))

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:

  1. Is there a way to get JRE's for Java 11 or Java 14?
  2. What version of JRE/JDK do I need to get this to work?
like image 474
ls6777 Avatar asked Jun 29 '20 23:06

ls6777


1 Answers

It's actually a bug, Java 11 is not required for CDT 9.11. You can take a look here to use a workaround: cdt dev mailing list Java 11 problem

like image 115
greywolf82 Avatar answered Sep 28 '22 12:09

greywolf82