Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maven Integration for Eclipse JDK warning

 
Mohammed Uddin
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Recently I have installed the Maven Integration Plugin but when running Eclipse I get the following error:



Under Window > Preferences > Java > Installed JREs > I have my JDK installed and selected.

My elipse.ini file:


From what I can see, I have my JDK installed and selected and have made the change in my eclipse.ini file but the error message still persists.

Any thoughts on how I can fix this.

Thanks in advance.
MoSha
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18152
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use our Search feature to scan this archive. You are, unfortunately, not the first person to be annoyed by this message. I've been bitten as well.
 
Mohammed Uddin
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Thanks for the reply.

I used the search feature and found some solutions but none of them worked for me. .

Can anyone perhaps suggest some other possible solutions.

My eclipse.ini as it currently stands:


I have tried to use the following as well:
-vm
C:/Java/jdk1.7.0_07/bin

and

-vm
C:/Java/jdk1.7.0_07/bin.javaw.exe

but nothing worked.

Thanks in advance.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you add those two additional lines? Hopefully not at the end - try p[lacing them before line 17 (-vmargs). Also, I assume that the path you gave is where your JDK is actually installed...

Also, you second try has a typo...

The second line needs to be the full path to either the java executable or the jvm .dll (or .so on linux).

Also see this: http://www.coderanch.com/t/488574/vc/Eclipse-running-JRE-but-JDK#2691915
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic