Thursday, March 3, 2011

installing IntelliJ IDEA on ubuntu

To Install IntelliJ IDEA 8.1 on ubuntu

Following are the steps :

1.first you need install java for you need to run below command on terminal.

admin@smartproteam~$ sudo apt-get install sun-java6-jdk

2.Now you need to download IntelliJ IDEA from below source

click here to download

3.Unpack the idea-8.1.3.tar.gz with tar xfz

admin@smartproteam~$ tax xfz idea-8.1.3.tar.gz

after extracting rename the file to idea-8 to make it simple

4.now copy idea-8 file to /usr/lib/

admin@smartproteam~$ sudo idea-8 -R /usr/lib

Now you need to configure the JDK_HOME and path for IDEA

5first you need to edit /etc/environment by running below command

admin@smartproteam~$ sudo gedit /etc/environment

add below lines to /etc/environment

export JDK_HOME=”/usr/lib/jvm/java-6-sun/”

add /usr/lib/idea-8/bin to this path

PATH=”/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/idea-8/bin”

after setting above once logout and login

6.now run below idea.sh to launch the IntelliJ IDEA like below

admin@smartproteam~$ idea.sh

now you can launch the Intellij

Source