How to extract JAR file in particular directory
807599Apr 9 2007 — edited Apr 9 2007Hi,
I am extracting a JAR file(A.jar) in a Makefile
Now the path of the Makefile is say /home/developer/
The location of the JAR file is in /opt/tools/mk/A.jar
I am extracting the jar file as:
jar xvf /opt/tools/mk/A.jar
This creates a directory named "A" under /home/developer, since the location of the Makefile is at /home/developer.
Question) How do I unjar /opt/tools/mk/A.jar under /opt/tools/mk/ itself, irrespective of the location of the Makefile?
thanks