simons: update how the javaHome is obtained