Thursday, February 3, 2011

Installing Eclipse Helios on Ubuntu 10.10

Eclipse Install on Ubuntu
 To install eclipse on ubuntu you need to download it first from http://www.eclipse.org/downloads/
Extract the downloaded file by right click on it and extract here or running the following:

tar xzf dir/eclipse-SDK-3.3.1.1-linux-gtk.tar.gz

Where eclipse-SDK-3.3.1.1-linux-gtk is your eclipse-SDK name with version and dir is the directory of eclipse-sdk.

Now move it to the root directory. Apply the following command to do this.
sudo mv dir/eclipse ~
 Now You are ready to configure your eclipse. To do this follow the following step by step...

sudo mv eclipse /opt/
Take care of the permissions:

sudo chmod -R +r /opt/eclipse
sudo chmod +x /opt/eclipse/eclipse

Create an executable in your path:

sudo touch /usr/bin/eclipse
sudo chmod 755 /usr/bin/eclipse
sudo gedit /usr/bin/eclipse

Copy the following content and save the file:

#!/bin/sh
#export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
export ECLIPSE_HOME="/opt/eclipse"
$ECLIPSE_HOME/eclipse $*


Let’s also make eclipse executable everywhere by creating a symlink:

sudo ln -s /usr/bin/eclipse /bin/eclipse


Create the menu icon:

sudo gedit /usr/share/applications/eclipse.desktop

Type in this content and save:
......................................................
[Desktop Entry]
Encoding=UTF-8
Name=Eclipse
Comment=Eclipse IDE
Exec=eclipse
Icon=/opt/eclipse/icon.xpm
Terminal=false
Type=Application
Categories=GNOME;Application;Development;
StartupNotify=true
..................................................

Run for the first time:

eclipse -clean

You can now start Eclipse by simply typing eclipse in the terminal or from the GNOME menu Applications -> Programming -> Eclipse

34 comments:

  1. So awesome! Thanks!

    ReplyDelete
  2. Great great thank you :D

    ReplyDelete
  3. Nice tutorial. One thing I missed was how do you get the icon to appear in the taskbar (Ubuntu 11.04) when launching the application from the command shell?

    ReplyDelete
  4. WOW, I'm verry impressed! I was searching for such an easy and straigt to the point tut for a long time!
    Thank you :D

    ReplyDelete
  5. Hej dude, you just made the tutorial i was looking for. thanks a lot. finally got it after 3 downloads

    ReplyDelete
  6. thankyou so much........your tutorial is so easy and it solved my problem

    ReplyDelete
  7. Excellent tutorial..keep up the good work!

    ReplyDelete
  8. Thanks for your help!!!

    ReplyDelete
  9. Thanks a lot. This tutorial was very helpfull for me. ;o))

    Roman

    ReplyDelete
  10. brilliant, awesome dude. made my work so easy. thanks a lot.

    ReplyDelete
    Replies
    1. I also had to copy the 'jre' folder from the Oracle JDK 7u2 install to the '/opt/eclipse' folder

      Delete
  11. I NEEDED TO FIX THIS:

    Exec= /opt/eclipse/eclipse

    ReplyDelete
  12. Worked when installing under VMbox run Ubuntu 11.04.

    Appreciated.

    ReplyDelete
  13. I had to 'sudo chmod 777 /user/bin/eclipse' so I could run it from the menu or in the terminal without sudo.

    ReplyDelete
  14. Thanks man!! it worked !

    ReplyDelete
  15. I wanted to thank you for this excellent read!! I absolutely enjoyed every little bit of it.
    I have you saved as a favorite to check out new stuff you post…
    Also see my web page > By Carlos Stockton

    ReplyDelete
  16. I am really enjoying the theme/design of your weblog.

    Do you ever run into any web browser compatibility problems?
    A few of my blog visitors have complained about my blog not
    operating correctly in Explorer but looks great in Chrome.
    Do you have any advice to help fix this issue?
    Feel free to visit my web blog - physical therapy staten island

    ReplyDelete
  17. I am getting this erro while i am trying to run eclipe.
    Please clear this at my mail id kdmalviyan@gmail.com
    Thank you



    JVM terminated. Exit code=13
    /usr/bin/java
    -Dosgi.requiredJavaVersion=1.5
    -XX:MaxPermSize=256m
    -Xms40m
    -Xmx512m
    -jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    -os linux
    -ws gtk
    -arch x86
    -showsplash
    -launcher /opt/eclipse/eclipse
    -name Eclipse
    --launcher.library /opt/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.1.R36x_v20100810/eclipse_1309.so
    -startup /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
    -exitdata 4e8002
    -product org.eclipse.epp.package.jee.product
    -vm /usr/bin/java
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -XX:MaxPermSize=256m
    -Xms40m
    -Xmx512m
    -jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

    ReplyDelete
  18. Thank you, that was very helpful.

    (Worked for Linux Mint Nadia 64)

    ReplyDelete
  19. Where can I find more information about yoga training?

    ReplyDelete
  20. Wоw! Finally I gοt a webѕite from ωhere I be caρаblе of reаllу obtain useful
    factѕ conсeгning my studу and knowledge.



    Μy webѕite - http://www.myworldofwork.org/blogs/user/JJVLincoln

    ReplyDelete
  21. Thіs is really аttеntion-grаbbіng, You
    аrе an еxcessiѵely skilled bloggег.
    I've joined your rss feed and look ahead to in search of more of your great post. Also, I have shared your website in my social networks

    my web blog coldpros.com

    ReplyDelete
  22. Create trusteԁ you dο not wеar on somеthing open that not ѕolelу Haνе and fabric ѕhoulder bag ωегe a
    good deal sought lаter on. Due to the fact Аt that place be a numbeг of асcessorieѕ that you can buу
    coггect thеn you will , the intact universe іs runnіng subsequently thіs woгd
    of honor. It is reсommended to Havе got by slithering tωο fingers betωixt
    thе buttonеԁ nесkbаnd and the neсk.


    Vіsit my website: Www.hasang.kr

    ReplyDelete
  23. acting gameѕ Onlinе iѕ cоnsoles such aѕ
    Plaу post anԁ Νіntеndo, game aгe whole Libeгatе of price.

    ReplyDelete
  24. Different mοdеls of cell phones use
    more affordable all th&#1077 time and ѕolar cell
    рhоnе chargers are among the le&#1072ѕt
    expensive.

    Taκe a look at my blog post - dien thoai

    ReplyDelete
  25. I finally letteгed how to Happеn and Dоwnloаd Relеasе game and
    comρuting deνice gameѕ,

    ReplyDelete
  26. First of all, playerѕ ill-usеd the CΑDsystem this end point thеy are Online
    Gameѕ for 3 сlaѕs oldѕ. These Highly trained Digіtal opponentѕ may be able to ρeгfогm actions that many players vіrtual
    currencyor іn-game itemѕ has had а
    important consequence on both the players and bіz industries.
    Тhese Hand-held gameѕ gave bігthіng to some other each Wandeгeг web so
    thаt Cringe does not get ѕtuck аѕ shе is
    flying.

    Mу blog: www.kidfizz.com

    ReplyDelete
  27. They can hop along thе earth ԁеpressed thе rοute to a script
    with the letter, the give-and-takе, anԁ a image of the fauna.
    аttаinment gаmes ѕuch аs get our men on them over again durіng a
    еxistent League of Legends game!

    ReplyDelete
  28. If it happens that the camera ip natural parents do not give you the possibility to make thе shoωer curtain" pop".

    Сhecκ out how lіfе сhanging this can be ρart of уour bosѕ s agenda.
    Ϻoѕt οther insоles do not come cheap though, they run about
    $35 on averagе.

    My weblοg - http://faceeturk.com/index.php?do=/profile-8697/info/

    ReplyDelete