Install JDK 1.5 in OSX 10.10 Yosemite

旧城冷巷雨未停 提交于 2019-12-01 11:03:39
Rossiar

I think the solution to your problem might be in this question.

Eclipse is a powerful IDE, and as such can tell a 1.6/1.7/1.8 JRE to run as if it was a 1.5 JRE. I am not familiar with using this, but it looks a lot easier than downloading an entirely different JDK.

To change the compiler compliance level, go to your Project Settings -> Java Compiler

Untick Use compliance from execution environment and ensure that Use default compliance settings is ticked, and that the box alongside that is set to 1.5.

Then you can change back to using your JDK 1.7.

Please let me know if this worked, as I can post an answer that walks through installing a new JRE for you, if this hasn't helped.

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