Extracting jar to specified directory

前端 未结 7 472
庸人自扰
庸人自扰 2021-01-31 06:58

I wanted to extract one of my jars to specified directory using jar command line utility.

If I understand this right -C option should to the tr

7条回答
  •  礼貌的吻别
    2021-01-31 07:26

    jars use zip compression so you can use any unzip utility.

    Example:

    $ unzip myJar.jar -d ./directoryToExtractTo

提交回复
热议问题