Close Menu
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • How to
      • Q&A
    • OS
      • Windows
      • Arch Linux
    • AI
    • Gaming
      • Easter Eggs
    • Statistics
    • Blog
      • Featured
    • MORE
      • IP Address
      • Man Pages
    • Write For Us
    • Contact
    Command Linux
    Home - man page - GJAR

    GJAR

    WillieBy WillieFebruary 2, 2026Updated:February 2, 2026No Comments2 Mins Read

    NAME

    gjar – – Archive tool for Java archives  

    SYNOPSIS

    gjar -ctxui [OPTIONS] jar-file [-C DIR FILE] FILE…  

    DESCRIPTION

    gjar is an implementation of Sun’s jar utility that comes with the JDK.

    If any file is a directory then it is processed recursively. The manifest file name and the archive file name needs to be specified in the same order the -m and -f flags are specified.  

    OPTIONS

    Operation mode:
    -c
    Create new archive.
    -t
    List table of contents for archive.
    -x
    Extract named (or all) files from archive.
    -u
    Update existing archive.
    -i FILE
    Compute archive index.

    Operation modifiers:

    -f FILE
    Specify archive file name.
    -0
    Store only; use no ZIP compression.
    -v
    Generate verbose output on standard output.
    -M
    Do not create a manifest file for the entries.
    -m manifest
    Include manifest information from specified manifest file.

    File name selection:

    -C DIR FILE
    Change to the DIR and include the following FILE.
    -@
    Read the names of the files to add to the archive from stdin. This option is supported only in combination with -c or -u. Non standard option added in the GCC version.

    Standard options:

    -help
    Print help text, then exit.
    -version
    Print version number, then exit.
    -JOPTION
    Pass argument to the Java runtime.

    AUTHOR

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    NTFS-3G

    April 21, 2026

    CAT

    April 21, 2026

    RPCBIND

    April 21, 2026

    SYSCTL

    April 21, 2026
    Top Posts

    sane-epson

    February 23, 2026

    Average Linux Server Uptime Statistics 2026

    April 14, 2026

    EXAMPLE

    February 5, 2026

    ADDUSER

    January 21, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.