IntelliJ:The selected directory points to a JRE, not a JDK

(37条消息) idea踩坑(1)配置jdk出现的问题 所选的是jre,不是jdk!!!The selected directory points to a JRE, not a JDK!!!_一叶浮萍归大海的博客-CSDN博客

JDK所在的文件夹必须是按规定命名的,不能是自己随便更改,会导致编译器识别不出。

如下图所示的名字是正确的,jdk8这些都是不对的。

 

 

 

posted @ 2022-07-04 22:30  ShineLe  阅读(3625)  评论(0)    收藏  举报