Install Maven in Eclipse: the eclipse.ini -vm option
While setting up the Maven for Eclipse, if you use a Java JRE instead of JDK you’ll be prompted like this:

Clicking on the first active text takes you to their Help website – Running Eclipse section where you’ll find a plethora of attributes to set in order to customize your IDE.
You have to go and edit into eclipse.ini, which situated in your Eclipse directory. Being a text file, edit it with your preferred editor. I use very much a free product made by a community of enthusiastic people called Notepad++.
The trickiest part when configuring the “-vm” option in eclipse.ini is that you have to place the path to your jdk on a new line:
…
-vm
C:\Program Files\Java\jdk1.5.0_18\
…
and not:
…
-vm C:\Program Files\Java\jdk1.5.0_18\
…
You can check it visually, by going into configuration options: Help -> About Eclipse Platform, then click Configuration Details button.
| Print article | This entry was posted by Radu Poenaru on 5 July 2009 at 1:27 pm, and is filed under Media Informatics, My work. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |

about 2 years ago
Rather interesting. Has few times re-read for this purpose to remember. Thanks for interesting article.