views:

350

answers:

2

I installed Eclipse using Synaptic Package Manager (Ubuntu 9.10). However, my Eclipse does not have any HTML template (in New dialog) or JSP template. How can I fix it so that I will have some HTML and JSP templates overthere?

+1  A: 

Fetch Eclipse plugin from http://download.eclipse.org/releases/galileo and select Web Developments stuffs solve the problem.

Phương Nguyễn
A: 

I do not recommend to install Eclipse from the ubuntu repository but to install it manually instead (and grab Eclipse IDE for Java EE Developers). Just be sure to check this answer to fix the "click problem" due to a bug with Eclipse 3.5 and GTK+ 2.8.

Update: The reasons to prefer a manual install are explained in EclipseIDE. First, there is no guarantee to find the most recent of Eclipse in the repository (in Ubuntu 9.04, the packaged version of Eclipse was totally outdated). Second, even if you find an up-to-date version (like for Ubuntu 9.10), you'll need to run Eclipse as root to install plugins not available in Package Manager - why did they start to package plugin, this is just crazy - which is not a good idea. User mode installation solves this problem.

Pascal Thivent
Why not? What's about automatically upgrade?
Phương Nguyễn
@Phuong I've updated my answer to cover this.
Pascal Thivent
Thanks. I've come through some of your links. I got the annoy unclickable button sometimes but I ignored them since I thought it's a bug of ubuntu. Downloading Eclipse right now...
Phương Nguyễn
Hmm, the work around you introduced is already included in the latest release of Eclipse on Ubuntu Repositories.
Phương Nguyễn
@Phuong This fix is needed if you decide to go for the user mode installation, it is indeed already applied in the packaged version.
Pascal Thivent