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