您的位置:首页 > 编程语言 > Java开发

Eclipse: “The import java.io cannot be resolved”

2016-04-25 10:48 351 查看

检查一下选项:

重点看jdk的绑定

43down voteaccepted
Check your Eclipse preferences: Java -> Installed JREs. The one that you're using should be marked and it should be a JDK not just a JRE. Also check your project's build path: Right click on the project -> Properties -> Java Build Path Check in the "libraries" folder whether the JRE System Library is present and if not add it using "Add library"->"JRE System Library" and then select the correct one (from an installed JDK).

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: