Java 8 and Eclipse on OS X Mavericks

喜欢而已 提交于 2019-12-23 22:40:35

问题


I want to play a bit with the recently released Java 8 on OS X Mavericks, but have problems configuring the compiler compliance level to anything beyond 1.7.

I tried this with a recent Luna build (4.4.0M6) as well as with Kepler (4.3 SR2), patched with this.

What am I doing wrong?


回答1:


I think I got it right now. I just re-installed the patch from here and now 1.8 is shown as compiler level.

I think while the "About" dialog showed me that the patch was installed, it probably wasn't done properly, because it updated other plugins / the IDE to SR2 at the same time.

Anways, this is solved.




回答2:


I had some problems getting Java SE 8 to work in Eclipse too. I followed the Instructions in the Eclipse wiki for the Eclipse Kepler SR2 (4.3.2) version.

After that, I could choose version 1.8 instead of 1.7, which solved the problem. The instructions seem to link to the same patch you used, though, but maybe you missed something important.



来源:https://stackoverflow.com/questions/22518586/java-8-and-eclipse-on-os-x-mavericks

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!