Skip to main content

How to install eclipse in ubuntu 12.04


Eclipse installation in ubuntu 12.04 is very simple . you can install eclipse using “software center” but you may not get the latest version, better download the latest version and install manually . Here we can see how to install eclipse in ubuntu manually .
install eclipse ubuntu 12.04

Installing eclipse in ubuntu 12.04

Step 1 » Before installing eclipse you need to install java , you can either install JRE or JDK .
krizna@leela:~$ sudo apt-get install openjdk-7-jre
[or]
If you are going to use eclipse for java development, then you can install JDK
krizna@leela:~$ sudo apt-get install openjdk-7-jdk
Step 2 » Download the latest eclipse package from here http://www.eclipse.org/downloads/?osType=linux
Step 3 » move the package to the /opt directory
krizna@leela:~$ sudo mv eclipse-SDK-4.2.2-linux-gtk.tar.gz /opt/
Step 4 » Unzip the package by typing the below command
krizna@leela:~$ cd /opt
krizna@leela /opt:~$ sudo tar -xvf eclipse-SDK-4.2.2-linux-gtk.tar.gz
Step 5 » Create a new desktop file eclipse.desktop in /usr/share/applications/ and add the below lines .

Step 6 » Now goto /usr/share/applications and find eclipse.desktop file for launching eclipse , you can drag this file to the launcher.
install eclipse ubuntu 12.04
good luck

  • Stef

    Very helpful! Thank you.

  • Stef

    Very helpful! Thank you.

  • ramdin

    thanks sir. works perfect.

  • ramdin

    thanks sir. works perfect.

  • djazzc

    no work 4 me

  • djazzc

    no work 4 me

  • sabya

    thank u..

  • sabya

    thank u..

  • iug

    thank you

  • iug

    thank you

  • ashwini

    thank you …

  • ashwini

    thank you …

  • helen

    thanks worked for me

  • helen

    thanks worked for me

  • Thanks !!!

  • Thanks !!!

  • Pingback: DTN仿真器安装:The ONE+Eclipse+ModelGoon | Spark & Shine()

  • OMG Thanks sooooo much! 😀

  • OMG Thanks sooooo much! 😀

  • Ra John

    Hi!
    I’m new on ubuntu. I installed ubuntu 14.04 LTS. I’m trying to install eclipse for java developing.
    I’m feeling a problem when I’m going to create new file in /usr/share/applications/
    It’s saying me, don’t permission to root.

    Thanks

    • Albert Girald

      for all operations outside of your home folder. use before any command
      sudo…it is gonna ask for a passwd, it is ur passwr
      enjoy

  • Ra John

    Hi!
    I’m new on ubuntu. I installed ubuntu 14.04 LTS. I’m trying to install eclipse for java developing.
    I’m feeling a problem when I’m going to create new file in /usr/share/applications/
    It’s saying me, don’t permission to root.

    Thanks

    • Albert Girald

      for all operations outside of your home folder. use before any command
      sudo…it is gonna ask for a passwd, it is ur passwr
      enjoy

  • Ahmed Uthumansha

    To copy .desktop file change your working directory which contained .desktop file and type following in terminal.

    sudo cp /usr/share/applications

  • Ahmed Uthumansha

    To copy .desktop file change your working directory which contained .desktop file and type following in terminal.

    sudo cp /usr/share/applications

  • Nithin

    Thanks. It works..!!

  • Nithin

    Thanks. It works..!!

  • Ethan Arns

    Thank you!

  • Don Arcanate

    Thank you!

  • Thanks so much…figured out what was wrong.

  • Thanks so much…figured out what was wrong.

  • Sandeep

    Hi Thanks for the guide. I was able to install eclipse in Ubuntu 12.04 and get it working but somehow when I rebooted, it seemed to have been replaced by eclipse from the software center. I am quite new to ubuntu or linux environment. Would you have any idea how to sort this out? Thanks.

  • Sandeep

    Hi Thanks for the guide. I was able to install eclipse in Ubuntu 12.04 and get it working but somehow when I rebooted, it seemed to have been replaced by eclipse from the software center. I am quite new to ubuntu or linux environment. Would you have any idea how to sort this out? Thanks.

  • Sheky

    Thanks, It work for me..

  • Sheky

    Thanks, It work for me..

  • nitish sahoo

    getting error as Details: Failed to execute child process “/home/turbo/Documents/eclipse/eclipse” (No such file or directory)

    i have kekpt the file in the mentioned folder but even i tried to keep it in “/opt/eclipse/eclipse” location as well but same error persists.

    Please help!!!

    Ubuntu 12.0

  • nitish sahoo

    getting error as Details: Failed to execute child process “/home/turbo/Documents/eclipse/eclipse” (No such file or directory)

    i have kekpt the file in the mentioned folder but even i tried to keep it in “/opt/eclipse/eclipse” location as well but same error persists.

    Please help!!!

    Ubuntu 12.0

  • Pingback: STM32Fx Ailesinde Uygulama Geliştirmek İçin, Ubuntu İşletim Sisteminde, GNU GCC Arm Derleyicisi İle Eclipse Ortamının Hazırlanması - Yiğit Yüce()

  • Salma Bela

    it says Version 1.6.0_37 of the JVM is not suitable for this product. Version: 1.7 or greater is required! what should I do?

    • oqlet

      you need to change the default java running:

      sudo update-alternatives –config java

      then choose the corresponding number for jre 7

    • Shashidhar B

      hi salma iam discuss with personally plzz come to hangout message dis is my gmail hangout id bshashidhar568@gmail.com plzz cm to online nd ping to me