Decompression under Linux command

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. 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+
    1. Decompress, it's ark.
      Decompile???
      There must be a way to recover the sources... that seems cleaner to me!
      1. Webmaster
        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...