After adding Maven to Eclipse this error keeps popping up about “maven integration requires that eclipse be running in a jdk”. Basically Maven is using a JRE but needs a JDK.

First ensure that you have a JDK running and Eclipse sees it (via Window > Preferences > Java…”

Then you need to edit eclipse.ini and tell it where the JDK is using the following lines
-vm
C:\Program Files\Java\jdk1.6.0_18\bin\javaw.exe

It seems to need to be spread onto 2 lines i.e. the -vm first and then the path to your jdk.


Subscribe to comments Comment | Trackback |
Post Tags:

Browse Timeline


Add a Comment


XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Switch to our mobile site

© Copyright 2012 Larry Mahony . Thanks for visiting!