While it is possible that older versions of Tomcat may not be compatible with newer JVMs, all the currently supported Apache Tomcat versions (5.5.x, 6.0.x and 7.0.x) are known to run correctly on Java 6 JVMs. (Ref-http://tomcat.apache.org/migration.html)
we’ll download and extract Tomcat 5 or 5.5.35 from the Apache site
Installing Tomcat 5 on Ubuntu. If you are running Ubuntu and want to use the Tomcat servlet container, you should not use the version from the repositories as it just doesn’t work correctly. Instead you’ll need to use the manual installation process that I’m outlining here. Before you install Tomcat you’ll want to make sure that you’ve installed Java.
Use Synaptic Package Manager to install Java.
- Verify Java Version
Extract Tomcat files with tar xvzf apache-tomcat-5.5.35.tar.gzOpen Terminal, Go to Tomcat Directory/binRun ./startup.shOpen the default page- http://localhost:8080