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
It seems to need to be spread onto 2 lines i.e. the -vm first and then the path to your jdk.