Question: In an Eclipse JAVA project I have to save data to a zip file to reduce disk (memory) usage. I am sending my code. It does not run on Windows 7 professional laptop. Do you have a sample code that runs on both OS X and Windows?
Answer: There are several good solutions on the Net (google or bing for it). Look for file access rights or misspelled file name when your code does not work. From within your Java applications you can execute data compression and decompression conveniently by using the
java.util.zip package. A sample code is here:
Continue reading Save data to ZIP file in Java app for OS X, Windows and Android platforms →