Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am a beginner with Ubuntu. I've read many questions, but I haven't been able to figure out how to install Eclipse 3.6 and Tomcat 7 on Ubuntu 11.04. I've tried many answers posted but still no use.

I want to install this software to do a JSP project. I would really appreciate the help.

share|improve this question
add comment

3 Answers 3

If you're considering upgrading your Ubuntu to 11.10 soon, then you can just do this now - Oneiric has Eclipse 3.7 (not 3.6 though - but supposedly better, huh?) and Tomcat 7 in repositories. So you'll be able to install everything with

sudo apt-get install eclipse tomcat7

Alternatively, downloading any version of eclipse from its website and running it straight from the unpacked tarball works very well too - what exactly was the problem you spent 2 days on?

share|improve this answer
    
I was trying to install eclipse directly from eclipse.org using tarball installation. But every time I extract the folder I get either error saying binary files cannot be opened or no action. I am thinking of upgrading my ubuntu and solve this issue!!! –  Moulii Oct 18 '11 at 7:40
1  
Are you having problem extracting the tarball or when trying to run eclipse? If the latter - can you start it from console to see what the errors are? Do you have Java installed? –  Sergey Oct 18 '11 at 11:07
add comment

I just left a comment in another question about Eclipse. I would recommend not using the repositories, but just downloading it from eclipse.org, extracting it to somewhere in your home directory and creating a launcher for it.

  • It has its own updater
  • You can blissfully ignore the plugins in the repos too. Downloaded everything from within Eclipse and you'll be fine.
  • You control what version you're running. If you need 3.6 you can have it.

As for Tomcat, just install the tomcat7 package.

share|improve this answer
add comment

I was searching for a smiliar question, however the next step after installing which was given by Sergey is configuring eclipse and tomcat to work together.

The Stackoverflow response works even with tomcat7 so I thought it will be useful for anyone else who looking for the answer for ubuntu.

http://stackoverflow.com/questions/447289/problem-creating-a-tomcat-6-server-in-eclipse-form-ubuntu

On thing to note is that when you install tomcat from the repositories the service is started automatically so when developing you may want to stop the server first using

sudo service tomcat7 stop

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.