File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion 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: 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: 16303
    
  21

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: 5845
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Eclipse and JDK