Eclipse is running in a JRE, but a JDK is required

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

To suppress the message that shows up ine the console when you launch Eclipse, you can simply add in your eclipse.ini the following :

-vm
path\to\your\jdk\bin\javaw.exe

Advertisements

3 thoughts on “Eclipse is running in a JRE, but a JDK is required

  1. G:\study\eclipse-jee-galileo-SR2-win32\eclipse\eclipse.exe -vm “E:\Program Files\Java\jdk1.6.0_23\bin\javaw.exe”

    This works fine. 🙂

    Regards,
    Anadi KUMAR
    Architecture and R2ds, Channels and Framework, Software Engineer | HSBC Technology and Services – Global Technology
    HSBC Software Development (India)Limited
    GLT 4.0 – Panchshil Tech. Park, Block D, S.No. 19, Hissa 2A/11/2, Yerawada, Pune, 411006.
    India.

    Mobile. +91 9822622054
    Email. anadikumar@hsbc.co.in
    Email. anadikumar@gmail.com

  2. Thanks Anadi,

    It worked.
    But do I have to do it every time I start my eclipse or is there any other way to make it permanent.

    Regards
    Ravi

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s