Name the project, for example: HelloWorld. In this tutorial, we're going to do everything from scratch, so click Next. We're not going to use any additional libraries or frameworks for this tutorial, so click Next.ĭon't create a project from the template. In the next dialog, specify the JDK vendor (for example, OpenJDK), version, change the installation path if required, and click Download. If you don't have the necessary JDK on your computer, select Download JDK. If the JDK is installed on your computer, but not defined in the IDE, select Add JDK and specify the path to the JDK home directory (for example, /Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk). If the necessary JDK is already defined in IntelliJ IDEA, select it from the Project SDK list. To develop Java applications in IntelliJ IDEA, you need the Java SDK ( JDK). In the New Project wizard, select Java from the list on the left. Otherwise, from the main menu, select File | New Project. If the Welcome screen opens, click New Project.
In IntelliJ IDEA, a project helps you organize your source code, tests, libraries that you use, build instructions, and your personal settings in a single unit. Prepare a project Create a new Java project