Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse and JDK

 
Natalie Kopple
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I am using Eclipse. I got a message saying:

make sure the -vm option in eclipse.ini is pointing to a JDK and verify that Installed JREs are also using JDK installs.


Question 1. How do I add the -vm option in eclipse.ini? Right now, there is no -vm option in my eclopse.ini file.
Question 2. How to make the installed JREs use JDK installs? I have JDK in my C:\Program Files and I have JAVA_HOME in my system variable and Path.

Thanks for your help.
 
Greg Brannon
Bartender
Posts: 563
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post your eclipse.ini file for specific editing advice.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18212
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think probably you're also getting a message like "Maven plugin requires a JDK", since I recognize this message from that context.

We actually have 2 or 3 recent threads that discuss that very problem, so take a quick search and see if they don't help!
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is one such discussion, along with an example:
http://www.coderanch.com/t/488620/vc/Since-want-maven-IDE-should#2196994
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic