Run Your First Java App · Lesson 11/13
85%
⏱ 5 min read Modified: 2026-07-03

Creating a Project in IntelliJ IDEA - A Beginner's Guide

In this lesson, we will look at how to create a project in IntelliJ IDEA.

Launch IntelliJ IDEA. If you are opening it for the first time, you will see the following window:

Creating a project step 1

Select "New Project."

If you have previously worked with IntelliJ IDEA, your last project will open automatically. To create a new project, go to File -> New -> Project:

Create a new project - step 1

Step 1: In the newly opened window, select "Java."

Step 2:  Enter your project name in the "Name" field. By default it is untitled1, but it's better to enter something more meaningful.

Step 3: In "Location," choose the directory where the project will be saved.

Step 4: In the "JDK" field, choose the required Java version. If no options are available, click "Add JDK from Disk" and locate the Java (JDK) directory on your system.

If "Add sample code" is checked, the project will be created with predefined class Main.

Click "Create."

Creating project - step 2

That's it! Your project has been created and opened. In the "Project" panel on the left, you can see the project structure:

Project's structure

The newly created project includes a "src" folder with a pre-created "Main" class (because "Add sample code" was checked).

Video Explanation

Prefer video format? Watch this lesson with examples and explanations.

Comments

Please log in or register to have a possibility to add comment.

‹ Previous lesson Next lesson ›