Read JAVA_HOME from Java cookbook attributes, refs COOK-3908

The hardcoded path /usr/lib/jvm/default-java points to non-existent directory