Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

.jar files automatically convert into .zip file

my jar files automatically turn into zip file. When i try to download a .jar file it automatically turns it to a .zip file, i have the "safe" downloads setting off in safari, ive tried another browser and it works perfectly fine.

1 reply

If I recall, a .jar file is a already zip container.


Don't use the Safari Save As… You can click on the .jar file or right-click on it and choose Download Linked File and it will arrive as a .jar. Looks like this in macOS 27 Finder after download:



And you can use the zipinfo(1L) command in the Terminal to inspect its contents.