tried harder to find java, and added a flag to deal with Java 1.7 security stuffs
adding region naming for s3 access
changed from displayname to idname of the s3 region, better connectivity now.