OSX 10.10 and Eclipse Luna. Own App crashes when started from inside Eclipse

后端 未结 5 649
陌清茗
陌清茗 2021-01-11 11:18

I have updated to Yosemite today and have much problems with java. Most java applications crashes on start but after reinstall of the old Mac-Java 1.6 that problem seems to

5条回答
  •  长情又很酷
    2021-01-11 12:05

    When my mac crashed and was replaced (keeping the hard drive) my Eclipse had a couple issue to work out. Among them was some of my projects were referring to 1.6 when in fact I had updated to 1.7 and the project needed to refresh this setting.

    Right click project->properties->Java Build Path->Libraries->Add Library->JRE System Library

    The System will find the installed JRE and make it the default. Remove the old JRE and run the application.

提交回复
热议问题