automagically resolve java_version=6|7|8 to latest

uses s3 bucket content list to detect "latest" (s3 doesn't have symlinks equivalent)