Solved

Windows Explorer and WinZXip

Posted on 2014-01-10
4
544 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 

Author Comment

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

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 30

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 49

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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Determining the an SCCM package name from the Package ID
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

717 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