resolve dockerfile/java#11

While we agreed to add JAVA_HOME to the env, I have one concern, regarding existing images, built on top of dockerfiles/java image. Can this env var somehow conflict with child images, if they defined it also? Or it will be overridden?