Eclipse is running in a JRE, but a JDK is required. Some Maven plugins may not work when importing projects or updating source folders.
3 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Bandita_Pradhan
Posted On:   Friday, June 20, 2008 04:30 PM

I am running Eclipse IDE. I plug-in Maven2 to eclipse.

I am getting following error in the console what should I do.

6/20/08 11:33:03 AM MDT: Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
6/20/08 11:33:08 AM MDT: Downloading central : nexus-maven-repository-index.zip
6/20/08 11:33:47 AM MDT: Downloaded [central] -> http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip
6/20/08 11:33:59 AM MDT: Updated index for central Wed May 21 22:25:22 MDT 2008

Thanks,
Bandita

Re: Eclipse is running in a JRE, but a JDK is required. Some Maven plugins may not work when importing projects or updating source folders.

Posted By:   Gabriel_Castillo  
Posted On:   Wednesday, July 23, 2008 10:28 AM

Frederick Brock's solution worked perfectly for me. Thanks Fred.

Re: Eclipse is running in a JRE, but a JDK is required. Some Maven plugins may not work when importing projects or updating source folders.

Posted By:   Anonymous  
Posted On:   Thursday, July 17, 2008 03:05 AM

you need to start eclipse with -vm option and point it to the jdk. For example I installed jdk6 in C:jdk6 so when I start eclipse I start it with a command line of:

eclipse -vm C:jdk6in

This instructs eclipse to use the JDK vs the built in jre that eclipse ships with.

Re: Eclipse is running in a JRE, but a JDK is required. Some Maven plugins may not work when importing projects or updating source folders.

Posted By:   Stephen_McConnell  
Posted On:   Saturday, June 21, 2008 07:19 PM

I don't know what the problem is. The error message says that a JDK is needed. Download the JDK and install it.


Stephen McCOnnell

About | Sitemap | Contact