Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


jar -xvf extract to different directory

Posted on 2005-03-23
Medium Priority
Last Modified: 2008-03-06

How can I exctract jar file to other destination directory rather than current directoy?

Question by:Lalibela
  • 2
LVL 35

Expert Comment

ID: 13611492
You can't (afaik)
LVL 35

Accepted Solution

TimYates earned 150 total points
ID: 13611512
Unless you write a quick java app to do it...

LVL 29

Expert Comment

ID: 13614776
I'm with Tim. I don't think you can do it using JAR but you'd need to write your own copy app that would move the files to a new location using mkDirs() if necessary

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The deadly train derailment that occurred recently in DuPont, Washington, raises a lot of questions. It was a new route, the first trip tested with passengers, and the train was travelling at 50 mph over the zone’s speed limit. Could IoT play a role…
How do you create a user-centered user experience on your website? And what are some things you should consider in the process?
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question