1) Navigate to https://www.jetbrains.com/idea/
2) Click on Get intellij Idea Now
3) Choose "Free" unless you have money to purcase the full one.
4) Simply extract or run the following code
tar -xf ideaIC-14.1.1.tar.gz -C /target/directory
(remember to set directory)
5) Terminal time
Open a terminal and Navigate to the extracted folder ( I did cd Desktop; cd ideaIC-14.1.1 )
6) navigate to bin folder
Get an Error? Dont cry just run the following commands.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo update-java-alternatives -s java-8-oracle
Why we use java 8?
Java 6 is old... thats why we have an error. By installing java 8 we dont have to worry about anything. Java 9 is early access. If you want test Oracle Java 9 early access builds, you can install it too. You can replace the above code with this
sudo apt-get install oracle-java9-installer
To switch between different Java versions, you could use the following terminal command:
sudo update-alternatives --config java
Once updated Run the idea.sh again