Originally Posted by thomas2004ch
But as try to install the jboss I see from the jboss document that one should use the "jar xvf" to unzip the downloaded file as follow:
"jar xvf jboss-eap-4.3.0.zip"
JAR files are essentially ZIP files in the java world. The only real difference are some additional meta data which is stored as normal files in the archive (ie MANIFEST files, optional digital signatures, etc), specific file pathing/structure, and the obvious difference in file extension. The unzip and jar xvf command are therefore very similar and will generally be interchangeable commands in terms of results when executing them against a zip or jar file.
I say generally because some unzip implementations, especially on windows, have been known to have bugs with dealing with file name capitalization which could result in issues when trying to make use of the files extracted for the JAR. There are also some small differences between how the too commands handle the modify time setting on extracted files. These differences can 99% of the time these are close enough. I regularly see both users and admins use the commands interchangeably.