![]() |
java.util.zip.ZipException: No such file or directory 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: Quote:
|
Re: java.util.zip.ZipException: No such file or directory Quote:
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 |
Re: Re: java.util.zip.ZipException: No such file or directory Quote:
Interestingly, I can run LimeWire by just typing "java -jar RunLime.jar", but then I get a whole slough of errors (mostly FileNotFoundException) printed to the console: Quote:
|
Re: Re: Re: java.util.zip.ZipException: No such file or directory Quote:
|
Re: Re: Re: Re: java.util.zip.ZipException: No such file or directory Quote:
altoine |
Re: Re: Re: Re: Re: java.util.zip.ZipException: No such file or directory Quote:
1.) What shell environment are you using (bash, czsh, ksh)? 2.) What is the script that you actually use? Can you please cut & paste it here? 3.) What is the output of your path? Type this command and pleae post it here: echo $PATH 4.) What LimeWire package are you using (tgz or bin)? 5.) What glibc and GNU compiler are you using? Try this command to see: rpm -qa | grep glibc & rpm -qa | grep libgc 6.) What is in your "/usr/bin" directory? Try this command to find out: ls /usr/bin/j* 7.) What output do you get when you use this command? (Pleae post it here): echo $JAVA_HOME 8.) If you want to try one of my solutions before I try the above, try this link: http://www.gnutellaforums.com/showth...threadid=11187 HTH altoine |
Re: Re: Re: Re: Re: Re: java.util.zip.ZipException: No such file or directory Greetings. I'm the OP. Here are the answers to your troubleshooting questions... you can assume you're talking to someone with a reasonable amount of Unix experience. Quote:
Quote:
#!/bin/tcsh cd /usr/local/LimeWire sh runlime.sh >& /dev/null & This script is called /usr/bin/limewire. Quote:
Quote:
Quote:
glibc-2.2.4-9.1mdk Quote:
Quote:
Keep in mind that everything was working perfectly for me for LimeWire 2.3. In fact, I can still run 2.3 (which I have in a backup directory) without any problems. It's just 2.4 that won't run. Again, all file and directory names and permissions are unchanged from the previous installation. Many thanks for any insights you may be able to offer. |
Re: Re: Re: Re: Re: Re: Re: java.util.zip.ZipException: No such file or directory Excuse me for my delay in replying as I was away for a few days. I understand what you mean about your program script being able to work with the previous LimeWire version 2.3 as I have the same situation. I didn't have problems until I tried the 2.4 version. The link that I had given you earlier is what works 100% in a bash shell. I noticed from your prior post that when you printed your output, it has a non-bash default character "%" instead of "$". That gave me an early indication that my suggestive link will not work for you. Two, yes, you will have to set the environment variables for java to work by command line. That explained the lengthy error messages. I am greatful that I am speaking to someone with considerable *nix experience at it makes my assitance all the more easier to give. Quote:
HTH altoine |
Re: Re: Re: Re: Re: Re: Re: Re: java.util.zip.ZipException: No such file or directory Greetings, OP again. I did exactly what you suggested: added an environment variable JAVA_HOME for my jre directory (I don't have the sdk) and made sure it was in my path. LimeWire still doesn't work. I don't see why the change you suggested would have worked anyway, since I can still run LimeWire 2.4 manually with the java command; it just produces a million error messages about missing files and fonts (which were presumably supposed to be bundled in the tarball). If LimeWire really couldn't find Java or the standard libraries, it probably wouldn't have started up at all. Have you or anyone else actually gotten the 2.4 tarball to work? |
java.util.zip.ZipException: No such file or directory Quote:
digging deep, altoine |
All times are GMT -7. The time now is 08:36 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.