Results 1 to 3 of 3

Thread: Install Eclipse in ubuntu

  1. #1
    Join Date
    Oct 2009
    Posts
    67

    Install Eclipse in ubuntu

    Hi
    I have switched for windows to Ubuntu now. Ubuntu is a great operating system and I like its working. From last week I am using Ubuntu, I have not occurred with a single problem still. Seem that Linux based operating systems are powerful, I had heard it but I am experiencing it now. I do programming in java, I used eclipse IDE for it on windows. Eclipse is available for ubuntu, but I am not sure I can install it on ubuntu. So any help will be appreciated.

  2. #2
    Join Date
    May 2008
    Posts
    4,085

    Re: Install Eclipse in ubuntu

    There are many ways to do this, but only one way is showed in the following concept.
    Software you have to download
    1) Latest JDK version from Sun.
    2) Latest release of web tools from eclipse.
    3) Latest apache tomcat binary.

    Install packages
    Sun's Java JDK
    Install java-package to repackage the jdk as a .deb file. Make sure you have enabled the repositories.
    Code:
    sudo apt-get install fakeroot java-package
    Once we are done with this we create the .deb jdk package.
    Code:
    fakeroot make-jpkg jdk-1_5_xxxx-linux-i586.bin
    Then we install the new package
    Code:
    sudo dpkg -i sun-j2sdk1.5xxxx+updatexxx_i386.deb
    Make java configuration
    Code:
    sudo update-alternatives --config java
    Tomcat
    Download and copy tomcat
    tar xzf apache-tomcat-5.5.15.tar.gz
    sudo mv apache-tomcat-5.5.15 /opt/
    cd /opt
    sudo chown -R root:root apache-tomcat-5.5.15
    sudo chmod -R +r apache-tomcat-5.5.15
    sudo chmod +x `sudo find apache-tomcat-5.5.15 -type d`
    sudo ln -s apache-tomcat-5.5.15 tomcat
    Edit the users of tomcat
    Code:
    sudoedit /opt/tomcat/conf/tomcat-users.xml
    Add an administration and your own
    Code:
    <user name="admin" password="admin" roles="manager,admin" />
    <user name="yourname" password="blah" roles="manager,admin" />
    Eclipse
    Extract download and move eclipse to opt
    Code:
    tar xzf wtp-all-in-one-sdk-1.0-linux-gtk.tar.gz
    sudo mv eclipse /opt/eclipse cd /opt sudo chown -R root:root eclipse
    sudo chmod -R +r eclipse
    sudo chmod +x `sudo find eclipse -type d`
    Create an eclipse executable in your path
    Code:
    sudo touch /usr/bin/eclipse
    sudo chmod 755 /usr/bin/eclipse
    sudoedit /usr/bin/eclipse
    With this contents
    Code:
     #!/bin/sh
    #export MOZILLA_FIVE_HOME="/usr/lib/mozilla/"
    export ECLIPSE_HOME="/opt/eclipse"
    $ECLIPSE_HOME/eclipse $*
    Create a gnome menu item
    Code:
    sudoedit /usr/share/applications/eclipse.desktop
    With this contents
    Code:
    [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
    Now you are set to do java programs with Eclipse

  3. #3
    Join Date
    Oct 2009
    Posts
    67

    Re: Install Eclipse in ubuntu

    Thanks
    This is what I was looking for. Now I can do my programming stuff on ubuntu using eclipse. I am very happy. Thanks once again

Similar Threads

  1. cannot install Ubuntu 11.10 (64)
    By Joyendu in forum Operating Systems
    Replies: 9
    Last Post: 31-12-2011, 03:01 AM
  2. I am not able to install anything in Ubuntu
    By Tigerius in forum Operating Systems
    Replies: 5
    Last Post: 25-12-2010, 06:09 AM
  3. Install eclipse on Gentoo Linux
    By Beverly Archer in forum Windows Software
    Replies: 5
    Last Post: 26-03-2010, 01:50 PM
  4. Install Eclipse for Java and Android
    By blueprats in forum Guides & Tutorials
    Replies: 4
    Last Post: 10-03-2010, 02:20 PM
  5. How to install Eclipse plug-in
    By Aashirya in forum Software Development
    Replies: 4
    Last Post: 21-02-2010, 05:51 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,174,357.02341 seconds with 17 queries