poniedziałek, 13 września 2010

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

If you have message like this
Eclipse is running in a JRE, but a JDK is required

Folow this steps.
1. Install jdk
2. Set your JDK as a default Java environment in eclipse
3. Add vm jdk path to eclipse.ini

The solution is:
1. Install jdk if you don't have it
2. In Eclipse menu Window->Preferences -> Java -> Installed JREs add your JDK location
3. Edit eclipse.ini file
     Add  line like this:
-vm
C:\Program Files\Java\jdk1.6.0_18\bin\javaw.exe

On Windows Family systems be sure that two lines are not the last one.

Brak komentarzy:

Prześlij komentarz