How to install IntelliJ IDEA on Ubuntu is shown in this blog.
Contents
- ▼1. What is IntelliJ IDEA?
- ▼2. Installing IntelliJ IDEA
- ▼3. Create Java code to show “Hello World”
- 3-1. Click New Project to create a new project
- 3-2. Confirm JDK version 1.8 version 1.8.0_312 after choosing Java
- 3-3. Click Next and set Project Name (e.g) JavaHelloWorld and Finish it
- 3-4. Under src folder, click New -> Java Class
- 3-5. Set file name (e.g) Helloworld and double click Class
- 3-6. Write a code in Helloworld.java as below
- 3-7. Click “Build Project” in the pull-down menu “Build” to build the project
- 3-8. Click “Run” under the pull-down menu “Run” and then pop-up screen shows “Helloworld” and then click it. the following messages are shown.
- ▼4. Reference
▼1. What is IntelliJ IDEA?
IntelliJ IDEA is a developer tool. Java, Kotlin, Groovy, Scala languages etc are available. there are 2 types Edition, Ultimate Edition and Community Edition for Free.
▼2. Installing IntelliJ IDEA
2-1. Download IntelliJ IDEA Community Edition
We can download IntelliJ IDEA from this site Download IntelliJ IDEA. in this case, idealC-2021.2.3.tar.gz is used on Ubuntu 21.04.
2-2. Unzip downloaded IntelliJ IDEA Community Edition
(e.g)
mkdir Coding
mv ./Downloads/ideaIC-2021.2.3.tar.gz ./Coding/ideaIC-2021.2.3.tar.gz
cd ./Coding
tar -xzf idea-2021.2.3.tar.gz
2-3. Run idea.sh to start IntelliJ IDEA
e.g)
./Coding/idea-IC-212.5457.46/bin/idea.sh
2-4. Install Java 8 JDK
Azul Zulu OpenJDK Java 8 (LTS) is used in this blog. How to install this JDK is shown in this site Download Azul Zulu Builds of OpenJDK | Azul
(e.g)
sudo apt install ./zulu8.58.0.13-ca-jdk8.0.312-linux_amd64.deb
▼3. Create Java code to show “Hello World”
3-1. Click New Project to create a new project
3-2. Confirm JDK version 1.8 version 1.8.0_312 after choosing Java
3-3. Click Next and set Project Name (e.g) JavaHelloWorld and Finish it
3-4. Under src folder, click New -> Java Class
3-5. Set file name (e.g) Helloworld and double click Class
3-6. Write a code in Helloworld.java as below
(e.g)
public class Helloworld{
public static void main(String[] args){
System.out.println("Hello World!!!");
}
}
3-7. Click “Build Project” in the pull-down menu “Build” to build the project
3-8. Click “Run” under the pull-down menu “Run” and then pop-up screen shows “Helloworld” and then click it. the following messages are shown.

▼4. Reference
1 Download IntelliJ IDEA: The Capable & Ergonomic Java IDE by JetBrains
2 Download Azul Zulu Builds of OpenJDK | Azul
3 Java – Visual Studio Code on Ubuntu No.24
That’s all. Have a nice day ahead !!!