This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Unjar Folder Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Unjar Folder" Watch "Unjar Folder" New topic

Unjar Folder

Rawat Vijay

Joined: Jan 27, 2003
Posts: 17
I have a big jar file that contains subfolders and files inside subfolders.
My problem is that instead of unjaring a whole file I want to get files inside a particular sub-folder. In otherwords i want to unjar a particular subfolder inside a jar file.
source.jar is jar file. Directory structure after unjarring is like this:
so if i want to get only subfolder 'com' can i do that
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
I have never heard of any way to do that. What are you trying to accomplish?

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link:
subject: Unjar Folder
Similar Threads
Regarding Jar Utility
Can't run main class from JAR file
JSF with Weblogic 8.1 sp3
Retrieve Folder and File Information
Show the selected file and folder in tree structure with checkbox and the checkbox should be only..