DEV Community

Cover image for IntelliJ IDEA on Ubuntu: Begin Your Journey into Java Development!
Ricardo Caselati
Ricardo Caselati

Posted on

IntelliJ IDEA on Ubuntu: Begin Your Journey into Java Development!

Hello, young Padawan! 🧑‍💻 It’s time to embark on an epic journey into the world of Java development, and our trusted companion will be the powerful IntelliJ IDEA. Ready? Let’s go!

Before we start, we need to download the tool. But take a deep breath and hold your excitement, young apprentice! IntelliJ comes in two versions: a paid one (Ultimate Edition) and a free one (Community Edition). To get started, I recommend the Community Edition. Simply visit the official website, scroll down a bit, and click the button to download the free version.

Image description

Here's the link:
Download IntelliJ IDEA 👉 Link

Ready to install? Follow the steps below:

Step 1: Extract the File

Open a terminal and navigate to the directory where the file was downloaded (usually ~/Downloads):

cd ~/Downloads
Enter fullscreen mode Exit fullscreen mode

Now, extract the .tar.gz file using the following command:

tar -xzf ideaIU-*.tar.gz
Enter fullscreen mode Exit fullscreen mode

This will create a folder containing the IntelliJ IDEA files.

Step 2: Move the Files

To keep your system organized, move the extracted folder to the /opt directory (recommended for manually installed programs):

sudo mv idea-IU-* /opt/intellij
Enter fullscreen mode Exit fullscreen mode

Step 3: Run IntelliJ IDEA

Go to the IntelliJ directory and start the program:

cd /opt/intellij/bin
./idea.sh
Enter fullscreen mode Exit fullscreen mode

And voilà! 🎉 The IDE will open, and you can configure it according to your preferences.

Step 4: (Optional) Create a System Shortcut

To make accessing IntelliJ easier, let’s create a shortcut in Ubuntu’s application menu:

Open a text editor to create a shortcut file:

sudo nano /usr/share/applications/intellij-idea.desktop
Enter fullscreen mode Exit fullscreen mode

Add the following content to the file:

[Desktop Entry]
Version=1.0
Type=Application
Name=IntelliJ IDEA
Icon=/opt/intellij/bin/idea.png
Exec="/opt/intellij/bin/idea.sh" %f
Comment=The most intelligent Java IDE
Categories=Development;IDE;
Terminal=false
StartupNotify=true
Enter fullscreen mode Exit fullscreen mode

Save and close the file (press Ctrl+O, then Enter, and Ctrl+X).

Now, IntelliJ IDEA will appear in your Ubuntu application menu. Easy, right?

You’re now ready to explore the amazing world of Java development! 🚀 In the next post, we’ll take the first step by creating a Hello World program. See you then! 👋

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs