add logger for java home