No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK? ide
解决问题: this
因为Eclipse使用的是JRE致使,添加JDK便可 ip