0

Basically I am facing issue in extracting the jar.I tried using the following command to extract jar file:-

jar xvf myjar.jar META-INF/MANIFEST

But java path is not set for that system.i.e. jdk is not added to the path environment variable.So jar xvf command cannot run. Is there any other way to extract the jar file or accessing the manifest file without extracting the jar?

bansalakshay8
  • 43
  • 1
  • 7
  • Did you even search before posting? http://en.wikipedia.org/wiki/JAR_(file_format) – user4317867 Feb 12 '15 at 00:19
  • I think you are not getting me. I want to access the contents of manifest file in DOS. – bansalakshay8 Feb 12 '15 at 08:55
  • Please, again, do some research. The `JAR` file is simply a `ZIP` file. Within this file you can find the desired file. On my workstation, I have `C:\Program Files (x86)\Java\jre6\lib` which contains the JAR `management-agent.jar` and I can open this using `WinZip` which I had hoped would help illustrate a path you can research. Many UnZipping software these days has `DOS` executables which can be scripted to extract the `JAR` file and open `MANIFEST.MF` – user4317867 Feb 12 '15 at 22:18
  • possible duplicate of [How to unzip a file using the command line?](http://stackoverflow.com/questions/1021557/how-to-unzip-a-file-using-the-command-line) – user4317867 Feb 12 '15 at 22:20

1 Answers1

0

This question is a duplicate of How to unzip a file using the command line? which I found using the search string stack overflow unzip jar dos

Community
  • 1
  • 1
user4317867
  • 2,397
  • 4
  • 31
  • 57