trying to fix the download

in windows at least the file that is downloaded is saved under the incorrect name and is corrupted so I have been trying to fix it useing the exe link does not change a thing it is still saved as a jar file that is corrupted