Extracting .jar file with command line

后端 未结 8 787
悲哀的现实
悲哀的现实 2020-12-04 07:52

I am trying to extract the files from a .jar file. How do I do that using command line?

I am running Windows 7

8条回答
  •  眼角桃花
    2020-12-04 08:41

    You can use the following command: jar xf rt.jar

    Where X stands for extraction and the f would be any options that indicate that the JAR file from which files are to be extracted is specified on the command line, rather than through stdin.

提交回复
热议问题