Installing JDK
To install JDK, you can refer to help.ubuntu.com/community/Java.
If you want to install openJDK,
sudo apt-get install openjdk-7-jdk
If you want to install Oracle JDK, you can use PPA from webup8 team.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Installing IntelliJ IDEA
[Updated Answer]
Download IntelliJ IDEA CE from www.jetbrains.com/idea/download/.
Extract ideaIC-XX.Y.Z.tar.gz using
tar -zxvf ideaIC-XX.Y.Z.tar.gz
Run idea.sh
in bin
directory inside the extracted folder.
- To create command-line runner,
Tools > Create Command-line Launcher
- To create a desktop entry,
Tools > Create Desktop Entry
That's it. Now, you can launch IntelliJ from Ubuntu dash.
[Old Answer]
Download IntelliJ IDEA CE from www.jetbrains.com/idea/download/.
Extract ideaIC-XX.Y.Z.tar.gz using
tar -zxvf ideaIC-XX.Y.Z.tar.gz
Become root.
sudo -i
Move the extracted folder to /opt/idea
mv ideaIC-XX.Y.Z /opt/idea
Create a desktop file and install it:
gedit idea.desktop
and copy the following to the idea.desktop
file.
[Desktop Entry]
Name=IntelliJ IDEA
Type=Application
Exec=idea.sh
Terminal=false
Icon=idea
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=IntelliJ IDEA
then execute the following command to automatically install it in the unity:
desktop-file-install idea.desktop
Create a symlink in /usr/local/bin
using
cd /usr/local/bin
ln -s /opt/idea/bin/idea.sh
For idea icon to be displayed in dash, idea icon can be added as
cp /opt/idea/bin/idea.png /usr/share/pixmaps/idea.png
That's it. Now, you can launch IntelliJ from Ubuntu dash.