geeky · java

m2eclipse plugin jdk warning

More info – old issue but I ran into it on every freaking machine at home.

After I installed the m2eclipse plugin on Eclipse 3.6, I keep getting the following warning on the console:

The Maven Integration requires that Eclipse be running in a JDK, beacuase a number of Maven core plugins are using jars from the JDK.

Please make sure the -vm options in eclipse.ini is pointing to a JDK and verify that Installed JREs are also using JDK installs.

The solution that worked for me is changing the shortcut properties for eclipse e.g.

C:\JAVA\eclipse\eclipse.exe -vm "C:\Program Files\Java\jdk1.6.0_25\bin\javaw.exe"

I couldn’t get the eclipse.ini updates to work for some stupid reason.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s