If you are trying to unzip files without WinZip, then you will know 2 such ways to unzip your zipped files without any third party tools.
Unzipping a zip, rar, 7z, war file, etc is always easier with WinZip, WinRAR, and 7z. But if you do not have permission to install any of these, then the Windows has its in-built feature to unzip the zip files directly. If you face any challenges using the inbuilt zip extractor, you can follow the next way using java to unzip compressed files and zip them as well.
Here is the step by step guide to unzip a file without using WinZip and using java extractor.
Steps to unzip files without WinZip:
1. Extract files using Windows extractor:
Windows has its inbuilt tool to extract any zip file. Here are the steps –
- Double-click on the zip file to open it in explorer view.
- In the toolbar, under the “Compressed Folder Tools” section, select the option “Extract all“.
- Else, right-click on the zip file and choose the option “Extract All…“.
- A window opens. Click on the Extract button to extract the files from the zip file.
Read also: Turn off Google location tracking
There is a possibility you may not find this in-built tool if you are using a Windows server computer. In my case, I faced a similar challenge and I had to extract the zip file using Java. This is an awesome tip, you may not be aware of that you can extract files using Java command as well.
2. Extract files using Java:
- Make sure JAVA_HOME is set in the Environment Variables.
- Add the <JAVA_HOME>\bin path to the path variable.
- Open a command prompt window and browse to the directory where the zip/war/jar is kept or create a new folder and put the zip file inside it. So, when the zip is extracted, it will extract the contents to the folder.
- Type jar -tvf Sample.zip to know the contents of the zipped file
- Type jar -xvf Sample.zip to extract the files
It does not matter if you have any paid tools like Winzip or Winrar to extract the compressed files. Rather than installing any free applications to extract zip files in Windows 10, try out the 2 possible easy ways to extract files.
I hope this helped you to unzip files without using WinZip, WinRAR or any other software. Using Java to extract zip file is an awesome trick that many people don’t know.