Apache Tomcat is undoubtedly the most widely used open source application server for Java-based applications, and it depends on Java to run successfully. In this recipe, we will learn how to set up Java for Tomcat.
jdk-7u71-linux-x64.gz. The md5 hash for the file should also be available from the same location: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
repo, via a web server: the link for this should be something like