add flexibility in java choice, a few other refinements

Hi George, aside from the small refinements the big thing is to give flexibility in what java package is installed. The Elasticsearch peeps have verbally said they have official support for openjdk, and it makes system composition easier for the non-Oracle crowd.

Thanks,
Ted