Home > Maven > how do I set eclipse.ini -vm option for m2Eclipse ?

how do I set eclipse.ini -vm option for m2Eclipse ?

May 24, 2011

I installed maven plugin for eclipse, then I get an error like below:

please make sure the -vm option in eclipse.ini is pointing to a JDK

how to use -vm option to point to my jdk in eclipse.ini?

Solution:

add jdk javaw.exe file path as the first line to the eclipse.ini file and restart the eclipse.

-vm
C:/Program Files/Java/jdk1.6.0_24/bin/javaw.exe

Advertisements
Categories: Maven
%d bloggers like this: