If tools.jar is not found, try adding it depending on the project in eclipse.
First, copy the location of tools.jar, which will look something like this: C: \ Program Files \ Java \ jdk1.xx \ lib
Then, on the eclipse, right-click your project and go to Properties → Java Build Path → Libraries
Press the ADD External JARs button .
Paste the link that you copied above into the File Name link bar and click OK.
Now tools.jar should be specified in libraries.
Click "OK" to close the window.
Now run the installation of Maven.
It worked for me.
source share