Javatpoint Logo
Javatpoint Logo

Installing IntelliJ IDEA

Prerequisite: java8 should be installed on the system.

Follow the below demonstrated steps to install IntelliJ IDEA on the system:

Step1: Download IntelliJ IDEA using the Jetbrains website or using the below link:

'https://www.jetbrains.com/idea/download/'

Installing IntelliJ IDEA

Download the Community edition because it is free as well as open-source edition.

Step2: After downloading, move to the Download location, and start the installer. A security warning may occur. Click on the 'Run' option.

Installing IntelliJ IDEA 1

Step3: After the security check, the setup will start loading. A welcome screen will appear. Click next and follow the installer instructions.

Installing IntelliJ IDEA 2

Step4: Choose an appropriate installation location. Click Next.

Installing IntelliJ IDEA 3

Step5: Choose an appropriate desktop shortcut. If the user is working on a 64-bit machine, select accordingly. Also, select the '.java' file. This will associate the java files automatically with IntelliJ IDEA.

Installing IntelliJ IDEA 4

Click on the Next button.

Step6: Choose the start menu folder as 'JetBrains' (by default). Then, click Install.

Installing IntelliJ IDEA 5

Step7: The IntelliJ IDEA will start installing to the system.

Installing IntelliJ IDEA 6

After installing the setup, click on Next, then Finish.

In this way, IntelliJ IDEA will get installed to the system.


Creating the Kafka Project

Step1: Open the IntelliJ IDEA from its shortcut. A dialog box will open asking to import settings from the previous installation. Select 'Do not import settings' radio button. Click OK. This option is chosen because the user might be installing IntelliJ for the first time.

Installing IntelliJ IDEA 7

Step2: The JetBrains Privacy Policy will appear. Click on the checkbox and then click the 'Continue' option.

Installing IntelliJ IDEA 8

Step3: After opening, the installer will provide two UI theme options:

  1. Dracula theme
  2. Light Theme

The Light theme is the default one. After selecting anyone, click on 'Next Default plugins'.

Installing IntelliJ IDEA 9

In our tutorial, the default theme is selected, i.e., the Light one. The user can choose accordingly.

Step4: Next, the user will be asked to disable some default plugins (if required). Skip this step and click on 'Next Featured plugins'.

Installing IntelliJ IDEA 10

Step5: In this section, install the Scala support. This will allow users to develop Scala projects too. Click on the 'Start using IntelliJ IDEA'.

Installing IntelliJ IDEA 11

Step6: IntelliJ IDEA welcome screen will open. Click on 'Create New Project' option.

Installing IntelliJ IDEA 12

Step7: From the left side navigation panel, select 'Maven' or 'Gradle' option. It will show the Project SDK name. It should be java 8 (if properly installed).

In our tutorial, we have chosen Maven.

Installing IntelliJ IDEA 13

If not so, click on the 'New' option and select the respective home directory for JDK 8. Else, check the JDK 8 installation.

Note: Generally, the home directory for JDK will be the root directory only.

Installing IntelliJ IDEA 14

After selecting, click OK, then Next.

Step8: Now, it's time to create a new project. For doing so, a GroupId, an ArtifactId, as well as Version value is required. Provide the following details and click 'Next'.

Installing IntelliJ IDEA 15

Here, 'firstgroupapp.jtp' is the name of the GroupId, 'helloproducer1' is the ArtifactId, and '2.0.0' is chosen as the Version number. The user can give as per the wish.

Step9: Next, the user needs to provide a project name and the location where the user wants to keep the project. Finally, click the 'Finish' button.

Note: It is good to keep the Project name, same as the ArtifactId.

Installing IntelliJ IDEA 16

In the above snapshot, the name of the project is 'helloproducer1', and the project location is the 'Local C Drive'.

Step10: Now, the setup will ask to 'Enable Auto-Import' on the bottom-right side of the screen. Choosing this option will enable the IntelliJ IDEA to automatically download all the necessary dependencies, which we will define later in the 'pom.xml' file.

Installing IntelliJ IDEA 17

In this way, the first stage to create a Kafka Project will be completed.






Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA