Add sensible defaults for JAVA_HOME