jar command missing in Fedora 19?

Reindl Harald h.reindl at thelounge.net
Fri Jul 5 21:38:03 UTC 2013



Am 05.07.2013 23:28, schrieb Kevin J. Cummings:
> On 07/05/2013 12:50 PM, Fernando Cassia wrote:
>>
>> On Fri, Jul 5, 2013 at 1:34 PM, Amadeus W.M. <amadeus84 at verizon.net
>> <mailto:amadeus84 at verizon.net>> wrote:
>>
>>     jar xf myApp.jar
>>
>> that's not the right command to launch a java app, you surely mean
>> java -jar yourappname.jar ....
> 
> No. jar is similar to tar, bar, etc
> 
> its stands for Java ARchive, and it works very much like tar does, right
> down to a similar set of command line arguments.
> 
> What he is trying to do above is to extract files from the file myApp.jar

it is a ordinary zip-archive like openoffice-documents too

that's why "unzip whatever.jar" works
http://en.wikipedia.org/wiki/JAR_%28file_format%29


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20130705/5635ac53/attachment.sig>


More information about the users mailing list