installing java, needed by the ec2 tools