IntelliJ IDEA2017.3 Configuration Java SDK

Source: Internet
Author: User

The Java JRE is not installed with idea, so configure it. Otherwise it will be an error.

Cannot start compiler:the SDK is isn't specified for the model "* *". Specify the SDK at Project Structure dialog. Solution: Configure SDKs in Project structure, and then set the Module SDK in modules to the SDK you just configured.

1. In the idea's menu bar, select File, Project Structure,

2. Bounce out of the dialog box to the left of a SDKs click it, in the middle of a column with a + number click it, a click will appear add New SDK and then select the first JDK;

3. Navigate to the JDK installation path, which is the path to the environment variable java_home, and then click: Apply after the click OK

4. Select File, Project Structure, Modules in the menu bar of idea

5. Select the Dependencies box in the right box to find the module SDK, click on the dropdown box will appear just configure the JDK name click on the configuration of that.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.