jdk and tomcat installation on centos 6