View Single Post
  #2 (permalink)  
Old May 18th, 2002
nDiScReEt's Avatar
nDiScReEt nDiScReEt is offline
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default Re: java.util.zip.ZipException: No such file or directory

Quote:
Originally posted by Unregistered
Greetings.

I had been happily using LimeWire 2.3 on my Linux system for some time without problems. (So yes, I have the correct JRE installed, etc.) Today I downloaded and installed version 2.4. Here's what I get when I try to execute the program:



Obviously this error message would be much more useful if it told me exactly which file or directory LimeWire couldn't find. All my file permissions are set the same as they were for the previous version. Anyone encounter this problem before?
I was able to replicate your error above. You are getting that error because you are not executing the file from within the correct directory of the executing jar file (LimeWire.jar) or the file that you are using to execute the file in the directory isn't pointing to the right place (symlink named "runLimeWire").

example:

"ls" produces this ouput:

.
..
LimeWire/
LimeWireSrc/

"ls LimeWire" produces this output:

.
..
LimeWire
LimeWire.jar
LimeWire.lax

"java -jar LimeWire.jar" produces this output:

Exception in thread "main" java.util.zip.ZipException: No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:112)
at java.util.jar.JarFile.<init>(JarFile.java:117)
at java.util.jar.JarFile.<init>(JarFile.java:55)


Similiar output as your own (debatebly almost exact). Now when I move to the correct directory, "cd LimeWire", and then run the command again, "java -jar LimeWire.jar", the program runs correctly.

altoine

Last edited by nDiScReEt; May 18th, 2002 at 12:15 AM.
Reply With Quote