If you are struggling to set up IntelliJ IDEA and don't know where to start then this guide is for you. I hope this guide will help you and will make things easy. Let’s get started.
♦ Setting Up IntelliJ IDEA
Download the IntelliJ IDEA (www.jetbrains.com/idea/download/) and extract its contents to ‘/opt/’ and install it by running the bellow commands.
sudo tar -xvzf ~/Downloads/ideaI* #extract the files
sudo mv idea-IU-203.5981.155 idea # Rename the folder (optional)
./idea/bin/idea.sh #Run the installer
Follow the instructions to installer the IDE. Once done, close the IDE and create a file named 'jetbrains-idea.desktop' and put below content in it
[Desktop Entry] Version=1.0 Type=Application Name=IntelliJ IDEA Ultimate Edition Icon=/opt/idea/bin/idea.svg Exec="/opt/idea/bin/idea.sh" %f Comment=Capable and Ergonomic IDE for JVM Categories=Development;IDE; Terminal=false StartupWMClass=jetbrains-idea
Finally, run the below command to make a launch icon in your applications' menu.
sudo desktop-file-install jetbrains-idea.desktop
Congratulations! You should have successfully set up IntelliJ IDEA in your Linux distro.
Leave a comment below if you have any question or suggestions.
Happy Posting! See you in the next one.