GCE Debian 6 image does not have OpenJDK 7 in its repo contents ...
so changed the install java routine to default to OpenJDK 6 for
Debian 6.
Clean-up of comments and basic functionality.