Eclipse: The specified JRE installation does not exist

后端 未结 8 1358
面向向阳花
面向向阳花 2020-12-29 20:57

I used to have Eclipse configured well and work fine before. But I just uninstalled it and installed Eclipse Juno again on my Mac OS 10.10 today. But I kept getting this err

8条回答
  •  北荒
    北荒 (楼主)
    2020-12-29 21:52

    The problem is generally related to project or plugin-specific runtime configurations that (still) point to some JDK/JRE that is not existing anymore (e.g. after some update or migration).

    We had this e.g. with the ANT plugin, where the launch configuration had to be updated (per ant build file), if it was e.g. not set to the default ~ run in same JRE as workspace.

    You will find these settings (typicall under the JRE tab) either:

    1. in the global plugin configuration under Eclipse -> Window -> Preferences -> ... of your plugin (typing runtime in the Filter section above may help to find it quickly).

    2. or it is set in a project/file-specific run configuration which you should see if you go to

      • Eclipse -> Run -> Run configurations... or
      • right click on your project/file and select Run As -> Run Configurations ...
    3. or it is set in a project/file-specific external tool configuration (e.g. like used by ANT) which is similarly to be found here:

      • Eclipse -> Run -> External Tools -> External Tools Configuration ... or
      • right click on your project/file and select Run As -> External Tool Configurations ...

提交回复
热议问题