$text = String.new “World”

print “Hello #{$text}”

Installing Eclipse on Ubuntu 7.10

Posted by siegem on March 21, 2008

This holiday I wanted to use eclipse on my new install of Linux (Ubuntu 7.10 “Gutsy Gibbon”), but found it somewhat strange to do with the Add/Remove tool and searched a way to consistently install it and integrate on the Desktop environment.

The first thing I have done was to go on “Synaptic Package Manager” in “Administration” and search for the last JDK to install, you can do it by searching for jdk using the search button. In the time I’m writing, the latest JDK avaliable package avaliable was sun-java6-jdk. It needed some other packages to be installed (jre, gcc-3.3, and other java packages) for me.

Synaptic Package Manager - JDK Latest package (2008.03.21)

When the installation was complete, I went to the Eclipse site and downloaded the latest Eclipse version for Linux, in the time was Eclipse 3.3.2, from here.

After the download was completed, I changed to a terminal and entered in my root account. With root privileges, I sent the eclipse package to the /root directory and unpacked it with the command “tar -zxvf ./eclipse-java-europa-winter-linux-gtk.tar.gz”. With the new directory /root/eclipse, I sent it to the /usr/lib with the command “mv /root/eclipse /usr/lib” and created a symbolic link to the eclipse application on the /usr/lib/eclipse directory with the command “ln –symbolic /usr/lib/eclipse/eclipse /usr/bin/eclipse”. With this last command, we add a link to call eclipse inside a PATH that is already in our system variable allowing us to call it as a simple command in the console (try it by exiting the root account and using yours type the command “eclipse”, in an gui console).

It’s done, but, if you want to create a menu entry you can access the “Main Menu” software on “Preferences” and add an entry where you would like using the option “New Item”, for me I created on the Programming sub menu, below my entry for eclipse:

Eclipse Entry in Ubuntu Menu “Programming”

I hope this tutorial helps you out installing the Eclipse manually on Ubuntu. I like this way, because I can choose what version, when and where I would like to install it, and manually take care of it.

Best Regards!

7 Responses to “Installing Eclipse on Ubuntu 7.10”

  1. Alexandre said

    Hey mate !

    I really enjoy using Ubuntu !! I’ve been using it since version 5.x and it’s getting even better…And Eclipse…it’s a remarkable IDE, no doubt of that ! It’s a complete and extremely useful ! Just an obs. I’ve installed Eclipse in my computer with apt-get. It’s easier in my opinion :)

    See you later !

  2. Aaron said

    Alexandre,

    From what I can tell, the apt-get approach only installs Eclipse 3.2, not the latest 3.3 (Europa) version. Just FYI. I have seen siegem’s approach used a few times in different forums, and from my limited searching, it is the best way to get the latest version of Eclipse on your machine. Also following this method gives you the option to install one of the alternate packages, ie. the Eclipse for C/C++ developers.

    Happy Coding!

  3. Alexandre said

    Aaron, I’ve just checked !! You’re correct !! I’ll try this way !!

    Tks for the info.

    C’ya

  4. Stefan said

    I have struggled for some time getting Eclipse to work, thanks to yuo and your article it now does.
    So Thanks a lot!!

    Regards
    Stefan

  5. John said

    I have installed sucessfully eclipse in Ubuntu 7.10, now I’m having problems every time I try to create a project or run a program I get the error:
    make: ***No rule to target `all’.
    Can you tell me how can I run a program ?

  6. siegem said

    Hello John, thanks for reading this tutorial.

    I’m afraid I do not know why this problem is happening for you. For me, at last, it works fine. But, perhaps, this is not the answer you would like to read, so, I did some research over the web and found some links that may help you out.

    The eclipse I installed here is the IDE for java only, for what I found on the research, this problem occurs for the C/C++ IDE of Eclipse. This link is for a thread on the Ubuntu Forum where the answer was something to create the makefile manually and this other link is from Derkeiler.com, there you can read the follow ups of the thread and see if you can manage to solve your problem with the answers that the comunity has provided.

    Best Regards.

  7. Diogo said

    I am waiting to see how to install Warcraft 3 on Linux! ;)

    Hey brother, call your friends to play NDS with us! ^^

    Hugs, Diogo.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>