Decompression under Linux command

e-jenny Posted messages 23 Status Member -  
e-jenny Posted messages 23 Status Member -
Hello everyone,

I have a .jar file and I would like to know how to decompress and decompile it using Linux command line

Thanks in advance

:))

4 answers

  1. philtrain
     
    Good evening,
    To understand how the jar utility works, simply type
    $jar -help
    (provided the Java Virtual Machine is installed)
    To extract fichier.jar, type
    $jar -x fichier.jar
    a+
    2
  2. asevere Posted messages 13095 Registration date   Status Webmaster Last intervention   426
     
    Hi, a .jar archive is generally just a simple zip file renamed :)
    $ file the_file.jar
    To check the file type and
    $ unzip the_file.jar
    to unzip it, if it indeed is one :)

    @++
     ♫ It would take almost nothing...
    1
  3. aazerty
     
    Decompress, it's ark.
    Decompile???
    There must be a way to recover the sources... that seems cleaner to me!
    0
  4. e-jenny Posted messages 23 Status Member
     
    Thank you very much, it worked.
    0