What you will need is the appropriate SDK - version 1.4 is good. Download the version specific for Linux and try the examples to make sure it is working.
You should be able to unpack the standard Tomcat binary distribution and get it working stand-alone with no changes.
It only gets complicated if you want to use the Apache web server and configure Tomcat to handle the
servlets - that can get complicated.
Bill