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.
Related posts:
- Add SyntaxHighlight to Windows Live Writer in Preview mode Windows Live Writer is one of the most popular blog...
- SyntaxHighlighter – how to use it and brushes available How to implement syntax highlighting on your website and which...
- Windows Live SkyDrive – whooping 25 GB of backup Being not a big fan of Microsoft Live products (I...
- DocVault Data security is the priority of this program, mainly used...
- How to generate image_src for Facebook links in Wordpress theme In this article I present a script that sets the...
Euro
Lira sterlina
Dolar SUA
Francul elvetian
Gramul de aur




13 July 2009 - 8:46 am
Rather interesting. Has few times re-read for this purpose to remember. Thanks for interesting article.