Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Changing from .zip to .jar

4 replies · 2,489 views · Started 28 May 2004

I can't seem to rename my rar file to a jar, it's still seen as a zip file. I went to rename and added .jar, how is it done plz?

as far as I know, .jar files are Java package files which are created with a specific Java developer tool (jar.exe) and, while they are package files, they are not the same thing as your .zip, .rar (and such) archive files. .jar files are used when you want to pack your Java application (including all the files it needs to function) to a single file.

So: if you have a .rar file you can't simlply rename it to .jar and expect it to work.

..I'm having some trouble explaining this, since english isn't my native language, but I hope you got the jist of it..

-pete

Mostly correct, -pete, except that .jar (Java Archive) really are packaged using the zip compression algorigthm and file format. I.e., you can rename a .jar to .zip, and any program that can handle zip files can unpackage jar files.

N/A wrote:Mostly correct, -pete, except that .jar (Java Archive) really are packaged using the zip compression algorigthm and file format. I.e., you can rename a .jar to .zip, and any program that can handle zip files can unpackage jar files.

did not know that. everyday you learn something new; thanks :]

-pete

zip file is compressed file

winrar file can be open with winrar

and
jar or jad file means its a Java file or application