1. JDK download

2. setting IntelliJ JDK

FileProject StructurePlatform SettingsSDKs → add JDK

3. setting project JDK

FileProject StructureProject SettingsProject → update Project SDK

Untitled

4. create Module

FileProject StructureProject SettingsModules+ → select added JDK

Untitled

Whether exsting modules, delete and create module to create .iml file.

ps) refresh project

If not apply, delete .idea folder, write code and reopen the project.

According notice, define JDK.

5. add Configuration

To start project, add configuration.

+Application

essential setting

  1. Name
  2. JDK
  3. Main Class