Skip to content

How to Setup Intellij IDEA

Intellij IDEA is a Java IDE by Jetbrains. It's a cool tool to use that helps make efficient code and test what your program does.

How to Download Intellij IDEA

Intellij IDEA has two versions: Ultimate and Community. Ultimate is the paid one. Community is free but has less features. This guide will cover how to setup the Community version.

  1. Go to the Intellij IDEA download page.

download page for Intellij IDEA

  1. Scroll down to the Intellij IDEA Community Edition section.

Intellij IDEA Community edition download section

  1. Click on the download button to download the installer. If you prefer a ZIP download, click on the dropdown to the right of the download button and select ZIP.

Red arrow on download button

  1. In the meantime, you might want to install a Java Development Kit (JDK) while waiting for the download to finish.

Going through the Intellij IDEA Installer

Installing is as simple as running the installer and going through the installation instructions.

  1. Run the installer by double-clicking the idealC installer program.
  2. While it is recommended to close all other apps when running an installer program, this is not necessarily a requirement. You can do this while coding, watching YouTube videos, or playing computer games like Dota 2 as long as your PC is not freezing.

Installer. Click on next button.

  1. The next page lets you pick a destination folder for instlaling Intellij IDEA. By default, this leads to your Program Files folder on Windows.

Destination folder. Click next.

  1. Clicking next brings you to the Installation Options page. It contains the following options:
  • Create Desktop Shortcut: Makes a shortcut on your desktop so you can easily run Intellij IDEA as soon as you open your PC.
  • Update Context Menu: If you want to open a folder in Intellij through your File Explorer, check on this.
  • Create Associations: Lets you automatically run the associated file types with Intellij when you double-click on them, much like what you do with .doc and .txt files.
  • Update PATH Variable: This adds Intellij in your system environment so other IDEs, editors, and the Command Prompt can link to Intellij when they need it.

Note: It's worth noting that these are all for personalization purposes. You don't really need to select any of these, but they're helpful when you need them on your PC.

Installation Options. Click next.

  1. The last setting is the Start Menu Folder. It's best to just let this be with the default, unless you don't want your JetBrains programs nestled together under the JetBrains folder.

Choose start menu folder. Click install.

  1. Upon clicking install, the Intellij IDEA installer will start doing its thing until you have the world's best IDE right on your fingertips! (Right after selecting whether to reboot now or later...)

Choose start menu folder. Click install.

Creating a New Project with Intellij IDEA

To make a new Java project using Intellij, you will need a Java Development Kit (JDK). It's a suite of tools that forms the heart of any Java development environment. To set one up, follow our guide on setting up OpenJDK.

Note: For compatibility purposes, we are all using JDK 17. The latest one so far is JDK 21; do not use that.

  1. Click on New Project.

Click on New Project button

  1. A new tab will pop up. Fill out the name with the name of your project.

Pop-up window. Fill this up then hit Create. Next steps cover how to fill this up.

  1. Decide the location for your project. By default, your project will have its own folder within the IdeaProjects folder.

Location.

  1. If you want to initialize a Git repository for your project, click on the Create Git repository checkbox.

Create Git Repository.

  1. Select Java as your Language.

Select language: Java.

  1. Select Intellij as the Build System.

Select build system: Intellij.

  1. For JDK, select 17 or Oracle OpenJDK version 17.0.0.

Selecting JDK.

  1. If you are still trying to learn how Java works, you might want to leave the Add sample code checkbox checked.

Add sample code.

  1. Click on Create to make a new project.

Create button.

With that, you're ready to take on your new Java project. Good luck and good hunting coding!