[Downloader] New locating system for the java executable only for Mac