Windows « Zip « Java I/O Q&A





1. Windows XP blocking zip files created by my program    stackoverflow.com

I have the following java code to create a zip file. The file works fine on linux but Windows XP's native extractor is blocking it. The workaround recommended (go to file ...

2. J2SDK - zip format for windows    coderanch.com

You probably want J2SE SDK 1.5 Update 6. If you need another version (like enterprise edition), then you're probably advanced enough to know that. Anyway, The .exe is 59.86MB. I do not believe there is a way to download it in zip format. What you could do is download it at home and zip it up there, then transport it to ...

3. Windows does not recognize Java created ZIP    coderanch.com

I'm using java.util.zip to zip up some files, following some examples on the web (ZipOutputStream, ZipEntry, etc.) FileOutputStream fos = new FileOutputStream(zipfilename); ZipOutputStream out = new ZipOutputStream(fos); FileInputStream fis = new FileInputStream(file); //create a new zip entry ZipEntry anEntry = new ZipEntry(file); //place the zip entry in the ZipOutputStream object zos.putNextEntry(anEntry); //now write the content of the file to the ZipOutputStream ...

4. Windows XP Compressed Folders doesn't recognize my Java-created zip file    coderanch.com

I can't find a solution for this anywhere! I'm creating a .docx file (a Microsoft Office XML file, which is simply a zip file with certain directories and files in it). My zip files created with Java's ZipOutputStream class are being opened just find on Mac OS X, and I tried changing the file separator to a couple different things, but ...

5. java.util.zip : Unzipping gives Windows error    coderanch.com

Hi all, I have recently started working in J2EE. (I am a J2ME Developer basically). I ran into this problem I cannot figure out! I have to zip a folder and make it available for downloading. The folder may have nested folders and files. The code does zips the folder and downloads, but when I try to unzip it via WinZip, ...

6. \lib\classes.zip is missing after installing JDK1.1.8 on windows XP    forums.oracle.com

Unfortunately, you are so far past EOL for the release in which you are interested that it is unlikely that anyone on these forums will be able to remember/research an answer to your question. Java 1.2 EOL was 5 years ago. You really need to step up to a more recent version, preferably one that is not past the EOL, or ...

7. Problems with CRC in some windows app's whit zip files generated with Java    forums.oracle.com

For example, Recovery ToolBox for Zip ---> When we open our Zip File whit this app give us a message indicating a unknow CRC. Anyway when we open the same file with WinRar the description of CRC is Ok. Apps developed with Dynazip, Dynazip is a library (dll) for zip and unzip files in delphi apps. Could be an incopatibility problem? ...

8. Windows XP Compressed Folders doesn't recognize my Java-created zip file    forums.oracle.com

The resulting file size is 38 KB, but if I open the zip there's only document.xml in there. When I comment out the files String array containing both of them and use the files String array that only has document.xml in it, then the resulting zip file is only 21 KB, so that gives me hope. But why can't Windows see ...