SLIDER-530. slider command should give preference to JAVA_HOME if set (Thomas Liu via smohanty)