LPS-34711 - Allow $\{java.home\} and $\{env:ENV_VAR\} as replacements.