adding java for tomcate