Link to home
Start Free TrialLog in
Avatar of chima
chima

asked on

Maven Integration with Eclipse

Hello
I'm getting this warning, and while it is a warning, it concerns me whether I have properly configured Eclipse and Maven.
This is the warning;
9/20/11 9:23:12 AM MDT: Eclipse is running in a JRE, but a JDK is required
  Some Maven plugins may not work when importing projects or updating source folders.
9/20/11 9:23:29 AM MDT: Updating index central|http://repo1.maven.org/maven2
 User generated image User generated image
Avatar of for_yan
for_yan
Flag of United States of America image



4 down vote
      
in this link :
http://stackoverflow.com/questions/2921473/m2eclipse-eclipse-is-running-in-a-jre-but-a-jdk-is-required

read this:





The answer is that you have to have a line break between

-vm

and the path.

So in the eclipse.ini file:

THIS WILL NOT WORK:

-vm C:\java\jdk\bin\javaw.exe

BUT THIS WILL:

-vm
C:\java\jdk\bin\javaw.exe

link|improve this answer
      
answered Nov 18 '10 at 17:26
Jeremy Goodell
422110
      
      
Thank you, this did the trick for me! – Jack Murphy Jun 5 at 10:18
ASKER CERTIFIED SOLUTION
Avatar of for_yan
for_yan
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chima
chima

ASKER

Thanks, I found that as well.