Solved

Windows Explorer and WinZXip

Posted on 2014-01-10
4
533 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 80

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 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

Suggested Solutions

Title # Comments Views Activity
VB.Net creating Contact in Outlook 1 59
Network adapter failed to start 5 39
Laptop lenovo right click problem 4 23
Windows 10 install after disk failure 5 32
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

730 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