[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Maven can't find jdk

On 9/3/09 10:43 AM, Dan Grindstaff wrote:
Hello All, I have installed the maven plugin with eclipse and on startup
it keeps complaining about runing in jre and not being able to fin jdk.
I have modified my system and user environmental variables to include
JAVA_HOME pointing to the jdk, even added a variable to the project
JAVA_HOME pointing to the jdk but still maven complains. I cannot build
a jar from the project. Any ideas are greatly appreciated. TIA.

Eclipse does not use JAVA_HOME to find the JVM it runs in. The best way is to specify it in eclipse.ini - details here: http://wiki.eclipse.org/Eclipse.ini


Hope this helps,
Eric