Solved

Windows Explorer and WinZXip

Posted on 2014-01-10
4
515 Views
Last Modified: 2014-01-13
I go to a file in Windows Exploere, and I Rt click the file, Clock on WInZip, and click Add to FIle

I select a jar file in which to place this file into, and hit ADD

It briefly brings up WinZIP, and I see a pop up box saying

Your file has been added, The files will be compressed when saved

I clock OK, and then the WinZip app disappears

When I am done the jar file I put the file into has a zip file with its same name and a .zip extension, but the jar file is still of the same size in bytes

How do I complete the process and save the file, such that the contents of the zip file will be placed into and saved in the jar file

Thanks
0
Comment
Question by:Los Angeles1
4 Comments
 

Author Comment

by:Los Angeles1
ID: 39772234
Perhaps someone could post a tutorial ?
0
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 39773004
Can you not just drag the file and put it in the .jar file?
0
 
LVL 29

Expert Comment

by:Sudeep Sharma
ID: 39773007
In my opinion you should first extract the jar in some folder. Add the files to the folder then use Winzip to create a new jar file.

Sudeep
0
 
LVL 48

Accepted Solution

by:
dbrunton earned 500 total points
ID: 39773058
Jar files are zip files.  See https://en.wikipedia.org/wiki/JAR_%28file_format%29 for the details.

Unzipping utils such as WinZip should be able to read and extract the contents.  Adding is another story.  I tried a util called 7Zip.  It could read but not add.

If you have Java on your computer you should have access to the jar utility.  This can add files to a jar file but the syntax for using it is horrible, see http://docs.oracle.com/javase/7/docs/technotes/tools/windows/jar.html and not for the faint of heart.

Jar files also contain a manifest file and if you add a file to your jar collection you may also have to update the manifest file.  In which case you must use the jar util to do this.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

770 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