I uploaded a .jar file I made to my site. When I downloaded it to make sure it worked, it saved as a .zip. Does anyone know what might have happened?
Printable View
I uploaded a .jar file I made to my site. When I downloaded it to make sure it worked, it saved as a .zip. Does anyone know what might have happened?
What do you mean by "it saved as a zip"? If you mean that the file name changed, then the downloading software screwed up.
Otherwise note a jar file is a zip file: that is, it has a zip file's format. It is quite possible for other software to treat it as a zip file: for example WinZip will extract the contents. This includes desktop manager software that might have given it a zip file's icon, or associated it with a generic unzip program so that that program gets invoked when you double click the icon.
Ah, so I guess WinRAR is treating it as a .zip? The only way I got it to work is by renaming it from filename.zip to filename.jar. I guess I'll go read up on this then, thanks.
So you're saying the file got renamed?
Some Windows programs try to be very "helpful" with regard to file extensions, but I'd count that as a bug.