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

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.


  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 *