错误处理 Perhaps JAVA_HOME does not point to the JDK. It is currently set to ....

遇到错误:

Perhaps JAVA_HOME does not point to the JDK. It is currently set to 。。。



原因:

这是由于eclipse 默认使用了JRE 需要重新指定到 JDK下的bin



解决方法:

eclipse run -> External Tools  ->  External Tools Configurations... -> 修改如下 



你可能感兴趣的:(错误处理 Perhaps JAVA_HOME does not point to the JDK. It is currently set to ....)