Solution for “Eclipse is running in a JRE, but a JDK is required” problem

Sharing is caring!

When i installed Maven2 Plugin for eclipse i was getting the below error message when i startup my Eclipse IDE.
After that when I tried to perform Maven operations thrugh Eclipse I got some errors saying “…/tools.jar” is not there.

I did the below things to get rid of that problem.

open the eclipse.ini file and add the below argument.

Note: The VM configuration should be in two lines and in between –lancher and -vmargs.

Sharing is caring!


  1. Hey siva! Very informative. I was googling around to solve a different problem, but then came across your blog and remembered I could use this solution in a different case. Thanks so much.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.