Google+ Followers

Nov 23, 2010

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

Hi,
1) Right click on windows eclipse shortcut.
2) add in the end of the Target "-vm pathtojdkliberary"
3) Ensure that the JRE library is setup correctly within eclipse->preferences->JRE
Solution refers both to MyEclipse (not matter if its the Blue version or the regular) and Eclipse.
That's it.
Dor

2 comments:

  1. Solved: m2eclipse: Eclipse is running in a JRE, but a JDK is required

    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

    ReplyDelete
  2. Here are a possible SIMPLE solution for this (without edit the configs eclipse files and no edit your shortcuts): http://cimientosprevios.com/?p=19

    ReplyDelete