[MRELEASE-851] javaHome is ignored and inherited unexpected