


Hi all,I have a GUI zipped as a JAR file, which has an internal image which should be shown when starting the application in a directory that does not contain any image files (I use JAI for image manipulation). On Linux, the internal image is correctly unzipped from the JAR; on M$ XP it fails ...
Hi All,I am using the ZipFile class in Java to parse/read data from an ascii file. But I want to implement this reading process using the RandomAccessFile and read the data randomly. But I am using a StreamTokenizer from the ZipFile to read the data currently, but I am stuck without knowing how ...
Has someone else encountered or found a clean workaroung to this sort of a problem?...
We are experiencing a problem when we try to download our Java Web Start app remotely from the server using HTTPS.It works fine when using HTTP.There are a couple of JAR files that need to downloaded.But, when using HTTPS it will choke on random JAR files and will toss thefollowing ...
I have to create a JAR file in which I put other JAR files and also some XML and serialized objects files.I managed to do that, and when I unjar this archive, I get the set of basic JAR files back. But at this moment, when I try to call a new JarFile(...) on one of the file from the unjarred ...
HiWe're having an application that uses Webstart. It has several plugins packed as JARs.On a several computers it works beautifully while on others we get ZipExceptions when in the code we try to access a JAR.The code that fails:LOGGER.debug("File: " + pluginRef);ZipFile zipFile = new ...
Hello, sometimes I get the ZipException when the client get a new version of the JNLP. 'can`t create de incremental update'. If I repeat the process it update correctly. This error occurs ramdomly,and usually when I repeat, it updates the new version correctly.Anybody know something?Thank ...
Hi,I have an application where I am required to access a folder ( containing some DTDs for parsing ) inside a jar file. This is a top-level folder in the jar file. I used the following convention to get the folder for parsing:DTD_DIR = "jar:file://" + l_path + ...
Heya! Please tell me what is wrong with this code:ZipEntry ze;ZipInputStream zis = new ZipInputStream(new FileInputStream(pPathName));while((ze = zis.getNextEntry()) != null){if (ze.getName().toLowerCase().endsWith(".class")){int size = (int)ze.getSize();byte[] entryData = new ...
Is there a way to have webstart download zip files to the client and allow them to be used in the trusted environment. Obviously I'm having a problem, since the zip file can't be signed like my jar's can....
I have used JAR APIs to read, extract ZIP files..... can I rely on this to always work?- thanks....
Does anyone know whether the zip file limit of 4GB has been fixed in current version of JDk (java.util.zip)? I need where I can zip files > 4GB. I tried compress from Apache which is basically extension of java.util.zip....
I have to add two files in a zip archive.I get this message error and i can't resolve itjava.util.zip.ZipException: STORED entry missing size, compressed size, or crc-32 here is the part code i use to create the zip file :FileOutputStream tempo = new FileOutputStream(temp);JarOutputStream ...
I have found that a bug exists in the ZipInputStream class in JDK versions prior to 1.4.2. (Bug ID: 4635869) My problem is that I am having the same error occur in one of our production web applications. Since we are using Websphere 5.0 the version of JDK is earlier than the one with the bug ...
hi,This is Srinivas from India, working as a java programmer in Print Electronics Equipments Pvt Ltd., Mumbai. I have used one of the program from Thinking in Java (chapter 11) c11 named ZipCompress.java it is working fine with all the .txt files ,.dat files etc, if i am zipping a .mdb table ...
