install java before tomcat7