Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Latest Eclipse won't import maven project due to tools.jar
Latest Eclipse won't import maven project due to tools.jar [message #1855791] Thu, 03 November 2022 11:23 Go to next message
Haci Ermis is currently offline Haci ErmisFriend
Messages: 1
Registered: November 2022
Junior Member
Hi, since eclipse dropped the ability to run itself with JDK8 (2020-09?) newer versions that rely on Java11+ seem to have issue with legacy projects that for one reason or another include tools.jar from the JDK as a system dependency.

Adding JDK8 as an installed JRE and adding tools.jar as an external dependency still does not allow m2e to resolve the dependency correctly.

Stand-alone maven is absolutely fine.

Using Eclipse 2020-04 and setting the startup VM to JDK8 works perfectly fine.

I'm guessing eclipse is using its internal JRE for m2e which may be the issue here.

Does anyone know how to fix this problem?
Re: Latest Eclipse won't import maven project due to tools.jar [message #1855794 is a reply to message #1855791] Thu, 03 November 2022 14:26 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
It's probably best to ask on m2e discussions about m2e:

https://github.com/eclipse-m2e/m2e-core/discussions


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:OpenJDK to portable Eclipse
Next Topic:EGit - Windows Share as Remote Repository Over SSH
Goto Forum:
  


Current Time: Thu Apr 25 11:09:08 GMT 2024

Powered by FUDForum. Page generated in 0.02624 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top