Home > Uncategorized > Eclipse running in a JDK to use Maven tools

Eclipse running in a JDK to use Maven tools

January 7th, 2010

The Maven Intergation requires that Eclipse be running in a JDK and that installed JREs are also using JDK installs. In order to achieve this, edit your eclipse.ini file, located for example at C:\Program Files\eclipse\eclipse.ini. You need to specify the virtual machine to use. Add the following lines to the file before any -vmargs:

-vm
C:\Program Files\Java\jdk1.6.0_16\bin\javaw.exe

Note:

  • -vm and the JDK location are on separate lines
  • No quotes around the path
  • The two lines must come before any -vmargs

Uncategorized ,

  1. No comments yet.
  1. No trackbacks yet.