There are two main versions of IntelliJ IDEA: the Community edition and the Ultimate edition. The Community edition is free and is not lacking for features in terms of Java SE development.
Download IntelliJ IDEA from the JetBrains website, and follow installation procedures. If the Java Development Kit (JDK) is not installed, download and install the JDK. Note that you need the JDK, only having the Java Runtime Enviroment (JRE) is not enough.
Once IntelliJ IDEA has been downloaded:
Download IntelliJ IDEA from the JetBrains website, open the disk image (*.dmg) file downloaded, and drag and drop the application to the alias to your
IntelliJ IDEA can be installed on Arch Linux using its package manager,
pacman. Open a terminal and enter the following command.
sudo pacman -S intellij-idea-community-edition
sudo is not required if you're running as the root user.
(1) Install ubuntu-make package.
For ubuntu 16.04 and later,
sudo apt install ubuntu-make
For previous versions of ubuntu,
sudo add-apt-repository ppa:ubuntu-desktop/ubuntu-make sudo apt-get update sudo apt-get install ubuntu-make
(2) After installing Ubuntu Make, do a
umake ide idea
Default installation path: /home/current-user/.local/share/umake/ide/idea
Follow hello_world project listed above.
Follow ubuntu-make page to change default installation and to install other IDEs.
Further installation details can be found here: https://www.jetbrains.com/help/idea/2016.1/installing-and-launching.html