views:

759

answers:

4

I've got a project I've been building on Eclipse Ganymede targetted at tomcat 6.0, I've imported it into Europa and I need it to run on apache Tomcat 5.5

I can't find the reference to where the runtime is set to 6.0 to remove it. I've tried going to Windows > preferences > Server and I've installed the 5.5 runtime.

I can't however seem to find where the reference is to runtime 6.0 to remove it.

Any help would be appreciated.

Update:

I cant find any reference to Tomcat v6.0 in my build path, there is a reference to the servlet-api.jar of tomcat 5.5 though...

A: 

When Eclipse is up and running, choose preferences from the window menu. Choose from the bar on the left: Server, Runtime Environments.

Click the button Add, choose the version you want.

To remove the 6.0 reference, goto the libraries tab.

Suvesh Pratapa
I've added the 5.5 runtime I want, however my project apparently requires tomcat 6.0 and I'm trying to remove this requirement.
Omar Kooheji
A: 

Open the Build Path and go to the Libraries tab. Remove the Apache Tomcat 6.0 library and add 5.5. This is the library that your project uses to build it self.

You can add new runtimes for running your project in the Servers view (Right-Click, Add new Server)

kgiannakakis
+1  A: 

Unloading the project and reloading it fixed it... Man I love Eclipse...

Omar Kooheji
A: 

You can also just define a new server for that, and specify it there, also you can change server configuration just by double clicking on it you will see window with it's properties.

Artem Barger