I had eclipse 4.16 and downloaded update to 4.17. This version of Eclipse is however incompatible with java 1.8. Can i go back/ revert to to version 4.16? I read some questions but i didnt find answer I could apply
Asked
Active
Viewed 991 times
0
-
What precisely do you mean by "incompatible with Java 1.8"? – chrylis -cautiouslyoptimistic- Sep 17 '20 at 09:42
-
@chrylis-cautiouslyoptimistic- Eclipse 2020-09 requires at least Java 11 to run – greg-449 Sep 17 '20 at 09:49
-
@greg-449 I'm wanting to get OP's explanation. It's entirely possible that a satisfactory resolution is adding an installed JDK for Java 8. – chrylis -cautiouslyoptimistic- Sep 17 '20 at 09:52
-
what @greg-449 wrote. But i need work with java 1.8 – JojoF Sep 17 '20 at 10:04
-
2Eclipse itself must run with Java >= 11 but the projects you're working on can be on Java 1.8 – Guillaume Sep 17 '20 at 10:13
-
@Guillaume I'm experiencing a similar problem. Even after setting Java 1.8 as my project's JDK, it seems Eclipse Java builder is still using its own JDK to build it. I'm facing an NoClassDefFoundError: javax/xml/bind/JAXBElement in some of my mappers (with mapstruct annotation). – Lincoln Alves Sep 18 '20 at 00:26
1 Answers
1
You need change eclipse.ini because when you run new version of eclipse it will prompt you that you have incopatible version of java. For me version 1.8 did a trick and save eclipse.ini
Run eclipse. It should run but you will probably wont see your workspace. Go Help -> About eclipse without worspace
In About window click Installation Details enter image description here
There click Installation History tab and find your preferable version and click revert enter image description here
After a while it finish and probably prompt you Security Warning. Click install anyway if you know what you installing is secure security warning
Profit. You can run your eclipse again

JojoF
- 15
- 1
- 4
-
Thank you! Changing eclipse.ini to use java 1.8 allowed me to start Eclipse, and though everything was "broken", I could access the menu (Help » About) and find the option to revert. You saved the day ☺ – Udo Schuermann Nov 05 '20 at 17:10