SLIDER-357 slider bash script cannot handle if java is in the path