• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Maven Integration for Eclipse JDK warning

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: https://coderanch.com/t/488574/vc/Eclipse-running-JRE-but-JDK#2691915
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic