
It only works with the version available while I'm writing this. The line cd idea-IC-123.169/bin is dependend on the IntelliJ version, as the extracted folder is named in that way.I'm not sure at which part the echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections has to be.Update-java-alternatives -s java-7-oracle & Then execute the following command to automatically install it in the unity: desktop-file-install sktopĬreate a symlink in /usr/local/bin using cd /usr/local/binįor idea icon to be displayed in dash, idea icon can be added as cp /opt/idea/bin/idea.png /usr/share/pixmaps/idea.pngĪdd-apt-repository ppa:webupd8team/java &Īpt-get install oracle-java7-installer &Įcho oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | sudo /usr/bin/debconf-set-selections & Ĭomment=Integrated Development Environment Move the extracted folder to /opt/idea mv ideaIC-XX.Y.Z /opt/ideaĬreate a desktop file and install it: gedit sktopĪnd copy the following to the sktop file.

Now, you can launch IntelliJ from Ubuntu dash. To create a desktop entry, Tools > Create Desktop Entry.To create command-line runner, Tools > Create Command-line Launcher.Run idea.sh in bin directory inside the extracted folder. Sudo apt-get install oracle-java7-installerĮxtract ideaIC-XX.Y.Z.tar.gz using tar -zxvf ideaIC-XX.Y.Z.tar.gz sudo add-apt-repository ppa:webupd8team/java If you want to install Oracle JDK, you can use PPA from webup8 team. If you want to install openJDK, sudo apt-get install openjdk-7-jdk To install JDK, you can refer to /community/Java.
