Ana Sayfa > java, linux > Installing Eclipse Ubuntu 9.04

Installing Eclipse Ubuntu 9.04

Installing Eclipse in Ubuntu is very easy procedure but sometimes openJDK generate some unexpected problem.So instead of using openJDK you can download sunJDK.Here are the steps that help you to install eclipse in ubuntu linux.

  1. sudo apt-get install eclipse (install eclipse ide,if you wanna remove it use sudo apt-get autoremove eclipse)
  2. sudo apt-get install sun-java5-jre sun-java5-plugin sun-java5-bin sun-java5-fonts(java run time enviroment files)
  3. sudo update-alternatives --config java(update the JDK) /usr/lib/jvm/java-1.5.0-sun/jre/bin/java (select this line number in console)
  4. gksudo gedit /etc/eclipse/java_home(make sunJDK first line which means first JDK lookup)
  5. gedit ~/.eclipse/eclipserc and add this line JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun/

If you have problem while updating eclipse thats probably cause of openJDK or the server you use to update.Change JDK or server.

  1. 9 Ağustos, 2009, 11:18 am üzerinde | #1

    since the eclipse version is older in official ubuntu repos, I prefer Yoxos with generating my own eclipse

  2. burakddd
    9 Ağustos, 2009, 3:41 pm üzerinde | #2

    i didnt know yoxos before thanks for that, it comes with hole lot better plug-ins support.Creating your own eclipse installation is a good idea.

  3. 18 Ağustos, 2009, 5:04 pm üzerinde | #3

    easier procedure..
    sudo apt-get install sun-java5-jdk
    download eclipse tar from eclipse.org, untar it anywhere u want and execute ./eclipse
    thats all..

  4. 25 Ağustos, 2009, 4:59 pm üzerinde | #4

    punctilious post. due one unimportant where I contest with it. I am emailing you in detail.

  5. xoman
    2 Eylül, 2009, 9:33 pm üzerinde | #5

    beko actually has the correct way of installing. I tried all other methods none worked.

  1. 14 Ağustos, 2009, 8:50 am üzerinde | #1