Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Removing the Apache TomCat runtime from a project in Eclipse?

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...

like image 795
Omar Kooheji Avatar asked Jun 12 '09 10:06

Omar Kooheji


People also ask

How do I uninstall Tomcat from Eclipse?

Open Servers view (Window > Show view > Servers), right click on Tomcat server and select 'Run Configurations' in the servers view, expand MyEclipse server on the left hand side pane, right click on the runtime/server configuration you want to delete and click delete.

How do I change project runtime in Eclipse?

You can specify what Java runtime you want Eclipse to use by selecting Window→ Preferences, clicking Installed JREs, and choosing the JRE you want (use the Add button to add JREs and SDKs).

How do I change Tomcat settings in Eclipse?

For configuring the tomcat server in eclipse IDE, click on servers tab at the bottom side of the IDE -> right click on blank area -> New -> Servers -> choose tomcat then its version -> next -> click on Browse button -> select the apache tomcat root folder previous to bin -> next -> addAll -> Finish.


1 Answers

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.

like image 172
SuPra Avatar answered Sep 21 '22 16:09

SuPra