Meaningless Drivel is fun!*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse and JDK Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse and JDK" Watch "Eclipse and JDK" New topic
Author

Eclipse and JDK

Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
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

Joined: Oct 24, 2010
Posts: 557
Post your eclipse.ini file for specific editing advice.


Learning Java using Eclipse on OpenSUSE 11.2
Linux user#: 501795
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

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!


Customer surveys are for companies who didn't pay proper attention to begin with.
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5811
    
    7

Here is one such discussion, along with an example:
http://www.coderanch.com/t/488620/vc/Since-want-maven-IDE-should#2196994

JBoss In Action
 
Consider Paul's rocket mass heater.
 
subject: Eclipse and JDK
 
Similar Threads
Eclipse is running in a JRE, but a JDK is required
jdk and jre
setting up Eclipse with JBoss tools
Eclipse won't build/run because it's "missing VM"
debugging java hashmap source code using eclipse