[英]getting compiler error in intelliJ IDE
实际上我今天更新了我的jdk但是当我打开intelliJ时我无法编译任何类..它显示以下消息..“java:在类路径中找不到系统Java编译器”请帮帮我。
The "Project SDK" is probably missing. 可能缺少“Project SDK”。
Check under File > Project Structure > Project
检查
File > Project Structure > Project
If it says <No SDK>
, click New...
and navigate to your new JDK home directory. 如果显示
<No SDK>
,请单击New...
并导航到新的JDK主目录。
Make sure that the Java SDK you are setting in IntelliJ IDE is the same you have settled as your JAVA_HOME
environment variable. 确保您在IntelliJ IDE中设置的Java SDK与您已定义为
JAVA_HOME
环境变量的Java SDK相同。
IntelliJ is probably matching the path you settled in the IDE with what you have in JAVA_HOME, which might lead to this problem. IntelliJ可能与您在IDE中定位的路径与JAVA_HOME中的路径相匹配,这可能会导致此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.