It's not a secret anymore!
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
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse and JDK" Watch "Eclipse and JDK" New topic

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

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

Always learning Java, currently using Eclipse on Fedora.
Linux user#: 501795
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17039

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!

An IDE is no substitute for an Intelligent Developer.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Here is one such discussion, along with an example:

JBoss In Action
Have you checked out Aspose?
subject: Eclipse and JDK
It's not a secret anymore!