简体   繁体   English

IntelliJ IDEA社区版SDK

[英]IntelliJ IDEA Community Edition SDK

I recently downloaded IntelliJ IDEA Community Edition from JetBrains. 我最近从JetBrains下载了IntelliJ IDEA社区版。 After installing it, I ran it and found that there was an error. 安装后,我运行它,发现有错误。 It said that the SDK has not been set up and it told me to do it. 它说尚未建立SDK,并告诉我这样做。 I tried many folders in C:\\Program Files\\Java\\jdk..., but it kept replying that those folders were not "home folders" for the SDK. 我在C:\\ Program Files \\ Java \\ jdk ...中尝试了许多文件夹,但它一直在答复这些文件夹不是SDK的“主文件夹”。 Please help! 请帮忙!

As we found out the actual issue was not about SDK, but about JDK which stands for Java Development Kit. 我们发现,实际问题不关乎SDK,而是关乎Java开发工具包的JDK。 It is required to set up the JDK before doing any Java programming in Intellij IDEA and by setting up I mean choosing the folder where JDK is located. 在Intellij IDEA中进行任何Java编程之前,都需要先设置JDK,并且通过设置我的意思是选择JDK所在的文件夹。 JDK can be downloaded from Oracle website . 可以从Oracle网站下载JDK。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM