aspose 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
Register / Login


JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Eclipse and JDK" Watch "Eclipse and JDK" New topic
Author

Eclipse and JDK

Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 320
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: 530
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: 14568
    
    7

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: 5575

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Eclipse and JDK
 
Similar Threads
Eclipse is running in a JRE, but a JDK is required
Eclipse won't build/run because it's "missing VM"
jdk and jre
debugging java hashmap source code using eclipse
setting up Eclipse with JBoss tools